```Traceback (most recent call last): File "dail...
# prefect-community
s
Copy code
Traceback (most recent call last):
  File "daily.py", line 95, in <module>
    with Flow('start dataflow job 1', executor=LocalDaskExecutor(), storage=GCS('ghpr-dev-prefect-flows')) as startFlow1:
TypeError: __init__() got an unexpected keyword argument 'executor'
(prefect) bash-3.2$ prefect version
0.13.7
hmm i am unable to set the executor for a flow like this https://docs.prefect.io/api/latest/core/flow.html#flow-2 says that it does have the
executor
parameter though i am trying to increase parallelism for my flows
doing this doesn’t throw an error, but seems to have no effect
Copy code
startFlow1.executor=executor
startFlow1.register(project_name='box')
ah i needed to do
Copy code
environment = LocalEnvironment(LocalDaskExecutor())
with Flow('start dataflow job 1', environment=environment, storage=GCS('ghpr-dev-prefect-flows')) as startFlow1:
🚀 1