proud-artist-486403/10/2019, 10:43 AM
incalculable-sundown-8251403/11/2019, 5:53 PM
to iterate over asynchronous generators - do you think that would help in your case?
proud-artist-486403/13/2019, 6:22 AM
incalculable-sundown-8251403/21/2019, 9:35 PM
It’s doable, but clumsy. What I’d really like is if “get_route_tables” returned a list of route53.RouteTables, that can be iterated fine 🙂I hear you, but because the rest of Pulumi is so asynchronous, I’m afraid that can’t be done without seriously regressing other aspects of deployment, which is unfortunate. You can use
to launch your own async def functions, though - you just have to be sure to hook up the future it returns to Pulumi in some way