Claire Herdeman
11/17/2022, 7:07 PMClaire Herdeman
11/17/2022, 7:07 PM2022-11-17T12:53:34.610-06:00 Traceback (most recent call last):
2022-11-17T12:53:34.610-06:00 File "/usr/local/lib/python3.10/site-packages/prefect/agent.py", line 229, in submit_run
2022-11-17T12:53:34.610-06:00 infrastructure = await self.get_infrastructure(flow_run)
2022-11-17T12:53:34.610-06:00 File "/usr/local/lib/python3.10/site-packages/prefect/agent.py", line 218, in get_infrastructure
2022-11-17T12:53:34.610-06:00 prepared_infrastructure = infrastructure_block.prepare_for_flow_run(flow_run)
2022-11-17T12:53:34.610-06:00 File "/usr/local/lib/python3.10/site-packages/prefect_aws/ecs.py", line 485, in prepare_for_flow_run
2022-11-17T12:53:34.610-06:00 new = super().prepare_for_flow_run(flow_run, deployment=deployment, flow=flow)
2022-11-17T12:53:34.610-06:00 TypeError: Infrastructure.prepare_for_flow_run() got an unexpected keyword argument 'deployment'
Claire Herdeman
11/17/2022, 7:08 PMprefecthq/prefect:2.6.6-python3.10
base image and with prefect-aws==0.1.8
installedClaire Herdeman
11/17/2022, 7:10 PMZanie
prepare_for_flow_run
recentlyZanie
Zanie
Claire Herdeman
11/17/2022, 7:18 PM2022-11-17 12:52:27___ ___ ___ ___ ___ ___ _____ _ ___ ___ _ _ _____
2022-11-17 12:52:27| _ \ _ \ __| __| __/ __|_ _| /_\ / __| __| \| |_ _|
2022-11-17 12:52:27| _/ / _|| _|| _| (__ | | / _ \ (_ | _|| .` | | |
2022-11-17 12:52:27|_| |_|_\___|_| |___\___| |_| /_/ \_\___|___|_|\_| |_|
2022-11-17 12:52:2718:52:27.854 | DEBUG | prefect.client - Connecting to API at <https://api.prefect.cloud/api/accounts/x/workspaces/x/>
2022-11-17 12:52:27Starting v2.6.6 agent connected to
2022-11-17 12:52:27<https://api.prefect.cloud/api/accounts/xxx/work>
2022-11-17 12:52:27spaces/xxx...
Zanie
Zanie
prefect-aws
Zanie
2022-11-17T12:53:34.610-06:00 File "/usr/local/lib/python3.10/site-packages/prefect_aws/ecs.py", line 485, in prepare_for_flow_run
2022-11-17T12:53:34.610-06:00 new = super().prepare_for_flow_run(flow_run, deployment=deployment, flow=flow)
Zanie
Zanie
Zanie
prefect-aws
Claire Herdeman
11/17/2022, 7:21 PMZanie