Josh Paulin
08/17/2022, 5:48 PMOscar Björhn
08/17/2022, 5:52 PMprint(f"Creating storage block flows/{azure_block_flow_name}...")
azure_block = Azure(bucket_path=f"flows/{flow_name_clean}", azure_storage_connection_string=connection_string)
azure_block.save(f"azure-{env.value}-{azure_block_flow_name}", overwrite=True)
Josh Paulin
08/17/2022, 5:57 PMOscar Björhn
08/17/2022, 5:58 PMIlya Galperin
08/17/2022, 6:17 PMdeployment build
might be able to specify --path flag soon but I’m not sure how or if this relates to flow code storageAnna Geller
08/17/2022, 6:44 PMIs it best practice to create a single block for all flows, or to create one block per flow?you can treat the block that you provide on the deployment as a parent block holding your generic configuration that you may configure once and share across deployments -- when you create a deployment, Prefect copies that configuration and creates anonymous block per deployment
prefect deployment build --path ./flows/hello.py:one --path ./flows/other.py:two ..