Gabriel Moran
03/17/2023, 3:35 PMFlow could not be retrieved from deployment.
I've been testing changing the configuration of the deployment but I had no luck. Permissions to the bucket seem to be ok. do you have any idea of what am I missing? Thanks!Vivek Madenur
03/17/2023, 5:06 PMfrom prefect.filesystems import S3
s3_storage = S3.load("s3storage") # load the S3 storage object from the block
def deploy_flow(flow, name, storage):
deployment = Deployment.build_from_flow(
flow=flow,
name=name,
storage=storage,
)
deployment.apply()
Gabriel Moran
03/17/2023, 5:15 PMJames Zhang
03/17/2023, 8:36 PM