https://prefect.io logo
Title
a

Anjaneyulu K

11/07/2022, 7:02 PM
Hi #prefect-cloud, Good Afternoon! I am trying to use Deployment.build_from_flow() in python. Its not generating deployment config Yaml file in the current location. Should I use explicitly LocalFileSystem? I hope this is used to upload/copy a deployment files to another location
1
j

Jeff Hale

11/08/2022, 7:16 PM
By default, using the Python way of creating a Deployment doesn’t create a deployment yaml file. Are you passing the argument
output='some-path'
? See discussion here: https://medium.com/the-prefect-blog/deploy-prefect-pipelines-with-python-perfect-68c944a3a89f If I understand your question correctly, using this argument won’t won’t upload/copy deployment files to another location on a different device. You could use a remote storage block such as S3 for that. See the Storage docs to learn more.