hi all, does anybody know if pulumi works with python’s asyncio?
07/04/2022, 4:00 PM
In what context?
07/05/2022, 1:13 PM
I am thinking of using the automation api in an asyncio python program, but am not sure if the api itself is nonblocking
07/05/2022, 6:17 PM
ah, the automation API will work with asyncio
07/07/2022, 7:36 AM
I also think that automation api should work with asyncio.
I tried to use aio within the pulumi runtime and run into problems.
Please share your findings.
07/13/2022, 8:33 PM
AIO in the Pulumi program would probably work but I think similar functionality is already available due to the output objects that are returned by most function calls. Everything generally runs in parallel unless a blocking function is called.
I've had a great experience with using the Automation API by referencing an external Pulumi project via
. Here's the example that got me started in that direction. Can definitely AIO from that location.