WindmillWWindmill
Powered by
Dylan ParkD
Windmill•3y ago•
1 reply
Dylan Park

Can I use async main function in python?

I'm trying to use async function in script, but this error occured. When I delete async part in main, then this syntax error was not appeared. is there any way i can use async main in windmill?

ExecutionErr: error during execution of the script:
Error parsing code: invalid syntax. Got unexpected token Newline at byte offset 2210
image.png
WindmillJoin
3,388Members
Resources
Recent Announcements

Similar Threads

Was this page helpful?
Recent Announcements
henri-c

We're live here https://discord.com/channels/930051556043276338/1278977038430240813

henri-c · 2d ago

rubenf

Infrastructure as code

rubenf · 3w ago

rubenf

As we're preparing for a new Windmill sandbox SDK, we took the opportunity **to open-source NSJAIL sandboxing** and make it available in CE and easier to set. In 1.634.0, just set nsjail to benefit from the tightest security and isolation per job. It's constraining so no need to use it unless you need but now you won't be restricted in security for CE if you need to.

rubenf · 4w ago

Similar Threads

Object destructuring unparsable in main function
aurelienbrabantAaurelienbrabant / help
3y ago
Decorators with def main() not working in python
Karthik | Langtrace AIKKarthik | Langtrace AI / help
2y ago
Windmill Loops vs. Python Loops of wmill.run_async
developerDdeveloper / help
2y ago
can not run python code
EricEEric / help
2y ago