Jhonatan Sossa
04/27/2023, 7:56 PMdef build_and_register_flow(schedule_time, flow_name):
"""Build the prefect flow."""
response = run_deployment(
name=flow_name,
scheduled_time=schedule_time,
idempotency_key=schedule_time.strftime("%Y-%m-%d %H:%M:%S"),
timeout=0
)
print(response)
But I am getting:
<coroutine object run_deployment at 0x7fc5082b9f40>
And the deployment is not set. Does anyone know what is going on?nicholas
04/27/2023, 7:59 PMJhonatan Sossa
04/27/2023, 8:03 PMDeceivious
04/27/2023, 8:08 PMnicholas
04/27/2023, 8:15 PMresponse
should let you knowJhonatan Sossa
04/27/2023, 8:57 PM