Mahmoud Abduljawad
MModular
•Created by Mahmoud Abduljawad on 9/17/2023 in #questions
How to store PythonObject in DynamicVector?
I'm trying the following:
And getting:
I tried different combinations, but as long the type is non-imperative type, this won't work. What is a workaround for this?
6 replies
MModular
•Created by Mahmoud Abduljawad on 9/9/2023 in #questions
How to pass Mojo function to Python in Python interop?
The question is how to pass Mojo function to Python in Python interop?
For example,
If I run this, it will show the following message:
Question originally posted by HKTonyLee on SO: https://stackoverflow.com/questions/77063677/how-to-pass-mojo-function-to-python-in-python-interop
13 replies