https://prefect.io logo
Title
j

jack

01/03/2023, 10:26 PM
With prefect v1, we recently switched one of the flows to use
stored_as_as_script
when initializing storage. But when running the flow from the web UI, it now says
Failed to load and execute flow run: ValueError('No flows found in file.')
This is the storage instantiation:
storage=S3(
    bucket='some-bucket',
    stored_as_script=True,
    local_script_path='some-path.py',
)