Hi <#CM28LL405|prefect-cloud>, Good Afternoon! I a...
# prefect-cloud
a
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
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.