https://prefect.io logo
k

Keith Smith

08/23/2023, 8:54 PM
Hi, I have been trying to setup an Azure Blob filesystem and keep running into issues, with the code below and a very simple block configuration I am receiving a TypeError: argument of type 'PosixPath' is not iterable . I have the Blob container name in the storage bucket path and specified the connection string in the config. Any tips/ideas on how to debug/fix would be much appreciated!!
Copy code
from prefect import flow
from prefect.filesystems import Azure

az_block = Azure.load("azure-blob-block")
az_block.get_directory()

@flow(log_prints=True)
def hi():
        print("It worked!!")
4 Views