hey team, is there any possibility to wrap the python version of the automation API in a async friendly module?
b
billowy-army-68599
10/07/2021, 5:24 PM
hey! can you elaborate a bit more on what you mean?
n
nutritious-shampoo-16116
10/08/2021, 7:07 AM
hey sure, so we are trying to build a backend that will parse people config and run pulumi up via the automation API to create cloud resources, we are building this webserver using asyncio, but the automation API doesn't interface to asyncio as none of the classes/methods are coroutines. We are wrapping those in threads, which is cool but we'd love to see the automation API ready to be hooked up into async python programs
b
billowy-army-68599
10/08/2021, 3:06 PM
ooh this is quite an interesting idea @nutritious-shampoo-16116 - would you mind opening an issue for it?