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
when performing "codon run mycode.py" which is an application based on flask, and flask depends on werkzeug module, in werkzeug, "sys.argv[0]" was read to determine how the scripts was performed. but unforunately, seems sys module in codon has no argc and argv like normal python env. appreciate for any help.
Thanks
The text was updated successfully, but these errors were encountered:
Codon does not (yet) export sys.argv with Python bridge.
Also, if you are using Flask---which uses lots of features we don't yet support---I'd suggest using @codon decorator to speed-up the specific bottlenecks instead of running the whole thing via Codon. Just running stuff with Codon won't bring the speed-ups if the library of interest is invoked via Python bridge.
when performing "codon run mycode.py" which is an application based on flask, and flask depends on werkzeug module, in werkzeug, "sys.argv[0]" was read to determine how the scripts was performed. but unforunately, seems sys module in codon has no argc and argv like normal python env. appreciate for any help.
Thanks
The text was updated successfully, but these errors were encountered: