Hello. My question is not directly related to Prefect 2, but it worked fine with Prefect V1. I am getting the following RuntimeError on import because one of my modules tries to call
asyncio.get_event_loop()
.
RuntimeError: There is no current event loop in thread 'AnyIO worker thread'.
Hi Vadym, glad you were able to find a workaround. I noticed that there was a GitHub issue opened in this related thread . I'm posting here just so that we know there was some progress made on this question.