Is it possible to manually configure a remote stor...
# ask-community
m
Is it possible to manually configure a remote storage solution as the entry point for a flow? I know you can set
flow._entrypoint
but (a) is this sufficient (using an fsspec url)? (b) would you need to configure
flow._storage
as well?
n
hi @Matthew Scanlon - I wouldn't recommend depending on private attrs of
Flow
Is it possible to manually configure a remote storage solution as the entry point for a flow?
in general this is what
from_source
is for, whether its your s3 block, just an s3 bucket, github or a gist
m
The issue is that i do not want to generate a deployment from the remote storage. We used to be able to deploy the flow, and then once we knew the deployment was successful, upload the new code to remote storage. The flow is being deployed from a local environment
Copy code
def deploy_my_flow(flow: Flow):
    # configure deployment

    flow.to_deployment()

    deployment.apply()

    # upload to remote storage