Keith Veleba
03/03/2022, 3:15 PMAnna Geller
Anna Geller
Marvin
03/03/2022, 3:27 PMKeith Veleba
03/03/2022, 3:28 PMAnna Geller
Kevin Kho
EXTRA_PIP_PACKAGES
env variable in the ECSRunAnna Geller
annageller/prefect-postgres:python3.8
π or deploy your own image in the same wayAnna Geller
Keith Veleba
03/03/2022, 3:34 PMKevin Kho
Keith Veleba
03/03/2022, 6:10 PMError during execution of task: TypeError("get_cloud_url() got an unexpected keyword argument 'as_user'")
Keith Veleba
03/03/2022, 6:10 PMflow_run = create_flow_run(flow_name=DEPENDENT_FLOW_NAME,
project_name=PROJECT_NAME,
parameters={"partner_id": partner}, labels=[ENVIRONMENT, FLOW_CONCURRENCY_LABEL])
Keith Veleba
03/03/2022, 6:10 PMKevin Kho
Keith Veleba
03/03/2022, 6:28 PMKeith Veleba
03/03/2022, 6:28 PMKeith Veleba
03/03/2022, 6:29 PMKevin Kho
Keith Veleba
03/03/2022, 6:31 PMKevin Kho
Kevin Kho
Keith Veleba
03/03/2022, 6:32 PMKeith Veleba
03/03/2022, 6:32 PMKevin Kho
Keith Veleba
03/03/2022, 6:34 PMKevin Kho
Keith Veleba
03/03/2022, 6:36 PMKeith Veleba
03/03/2022, 6:36 PMKevin Kho
Keith Veleba
03/03/2022, 6:37 PMKevin Kho
Keith Veleba
03/03/2022, 6:37 PMKeith Veleba
03/03/2022, 6:42 PMKevin Kho
as_user=False
was dropped. I think you might need to re-register in 1.0 to sync everything and I think that should work. What is your storage?Keith Veleba
03/03/2022, 6:45 PMKeith Veleba
03/03/2022, 6:46 PMKeith Veleba
03/03/2022, 6:47 PMif __name__ == "__main__":
flow.run_config = ECSRun(image="prefecthq/prefect:latest-python3.8", env={"EXTRA_PIP_PACKAGES": "prefect[postgres,aws]"})
flow.register(project_name=PROJECT_NAME, labels=["dev"])
Kevin Kho
Keith Veleba
03/03/2022, 6:48 PMKeith Veleba
03/03/2022, 6:48 PMKevin Kho
Keith Veleba
03/03/2022, 6:52 PMKevin Kho
Keith Veleba
03/03/2022, 6:58 PM