Simple question, with a probable simple answer but I wanted to ask, to run asynchronous python functions all I need to do is use asyncio yeah? If so, they should be set that way by default IMO
You probably can use asyncio. I'm not familiar with how to use it, though.
See open-runtime's source code: https://github.com/open-runtimes/open-runtimes/blob/4044ed47c488e269a66fc381748f3af1e179e60b/runtimes/python-3.10/src/server.py#L155-L158
Recommended threads
- Python-ml-3.12
Hi, when this runtime will be available for the cloud. I could see the runtimes repo has this added to Runtimes.php but I'm not able to use it to run locally or...
- Function Building show 500 Error
Region: sfo Temple: Starter Function Runtime: Nodejs 22 What happened? Before 2 minutes it show ‘server error.","code":500,"version":"0.7.24"}’ after it show c...
- Function for long running task (other 60...
My function need long running other 60 seconds. But async mode return empty body. How to deal with that please ?