Skip to content

Instantly share code, notes, and snippets.

@discdiver
Last active August 31, 2022 16:15
Show Gist options
  • Save discdiver/05bed30ba661b99e2085096bb7c00db9 to your computer and use it in GitHub Desktop.
Save discdiver/05bed30ba661b99e2085096bb7c00db9 to your computer and use it in GitHub Desktop.
from demo import pipeline
from prefect.deployments import Deployment
deployment = Deployment.build_from_flow(
flow=pipeline,
name="Python Deployment Example",
)
if __name__ == "__main__":
deployment.apply()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment