You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Having spent a few evenings absorbing the documentation I have (incorrectly) understood that /scripts and /apps were passed through the interpreter and use all the convenience pyscript environment stuff and that modules were for "normal Python" to be imported therein.
I've immediately run into two issues with a package I'd specifically broken away from my script
Enum doesn't work in the interpreter (got a workaround for that...)
Type annotatations don't work in the interpreter (not implemented ast ast_starred #285) which I can't work around because I'm trying to use marshmallow-dataclass to do some HTTP request deserialization.
Is there a way to bypass the interpreter for some module/package that isn't get via requirements.txt (I am hoping that they are exempt because otherwise I am totally f**ked...).
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
...instead of being loaded as-is.
Having spent a few evenings absorbing the documentation I have (incorrectly) understood that /scripts and /apps were passed through the interpreter and use all the convenience pyscript environment stuff and that modules were for "normal Python" to be imported therein.
I've immediately run into two issues with a package I'd specifically broken away from my script
Is there a way to bypass the interpreter for some module/package that isn't get via requirements.txt (I am hoping that they are exempt because otherwise I am totally f**ked...).
Beta Was this translation helpful? Give feedback.
All reactions