Christopher Martin

02/08/2023, 10:58 PM
Hi there, I seem to be having issues running the blob_storage_list() function from the prefect_azure.blob_storage module. I’m using the Azure Blob Storage Credentials block to store and load my connection string, but I also tried hardcoding my connection string and neither seems to work. The errors I’m returning are: KeyError: 0 RunTimeError: Event loop is closed Was wondering if anyone else was running into the same issue? For reference I am on version 2.7.12

Jeff Hale

02/09/2023, 8:39 PM
Might be worth asking in #prefect-azure

Kyle Austin

04/17/2023, 6:40 PM
I just had a similar issue when passing the prefect client (output of get_client) as a param to my tasks vs instantiating in each task. Anyhow -- I switched to instantiate a new async client per task and that solved my problem. Maybe you did something similar?