Guy Altman
01/06/2023, 9:23 PMChristopher Boyd
01/06/2023, 9:34 PMGuy Altman
01/06/2023, 9:42 PMC:\Users\galtman\Documents\Athenix-Prefect\blob_ingestion\fl_blob_ingestion.py
Would you know what that path in the error message is from? They just contain the repo of my code, I assumed prefect does this when you set the deployment upChristopher Boyd
01/06/2023, 9:44 PMGuy Altman
01/06/2023, 9:46 PMfrom prefect.deployments import Deployment
from prefect.filesystems import GitHub
from fl_blob_ingestion import main_flow
storage = GitHub.load("athenix-prefect")
deployment = Deployment.build_from_flow(
flow = main_flow, # name of the flow function
name = "dp_blob_ingestion_zonda", # name of deployment
work_queue_name = "blob_ingestion_zonda",
path="blob_ingestion",
storage = storage
)
if __name__ == "__main__":
deployment.apply()
Christopher Boyd
01/06/2023, 9:49 PMGuy Altman
01/06/2023, 9:54 PMChristopher Boyd
01/06/2023, 10:02 PMGuy Altman
01/06/2023, 10:02 PMChristopher Boyd
01/06/2023, 10:06 PMGuy Altman
01/06/2023, 10:08 PMChristopher Boyd
01/06/2023, 10:11 PMGuy Altman
01/06/2023, 10:15 PM