https://prefect.io logo
r

Riley Hun

01/20/2021, 1:06 AM
Hi Prefect Team, I upgraded to Prefect version
0.14.4
and I can no longer run
flow.environment.executor = executor
. I get the following error
AttributeError: 'NoneType' object has no attribute 'executor'
. Does anyone know how to attach an executor to a flow registered to Prefect Server using Docker Storage in the latest version of Prefect. Had no issues with this is Prefect version
0.13.18
. In the meantime, I'll downgrade to
0.13.8
for the time being.
c

Chris White

01/20/2021, 1:07 AM
Hi @Riley Hun - can you try setting the executor directly on the flow, e.g.,:
Copy code
flow.executor = executor
r

Riley Hun

01/20/2021, 1:08 AM
Okay I'll try that.
👍 1