Hi all! Recently `task_run_name` was added to the ...
# ask-community
a
Hi all! Recently
task_run_name
was added to the
@task
decorator and it's beautiful -- however it prevents the flow from running locally for obvious reasons This makes local debugging (before deployment to Cloud) a pain since you'll have to remove and re-add this configuration all he time. Does anyone know a way to make Prefect just... ignore this parameter when the flow is run e.g. with
flow.run()
? Thanks!
j
Hi @Arsenii where are you seeing that it is preventing the flow from running locally? In the task runner is passes unless running with a backend.
a
Heyo, maybe I'm doing something wrong but it gives me a
TypeError: __init__() got an unexpected keyword argument 'task_run_name'
if I try to run the flow in local CLI
j
Could you open an issue on the repo?
a
My bad; the issue was because of Prefect version mismatch 🙂 Sorry for a false alarm!