PrefectHQ / prefect

Prefect is a workflow orchestration framework for building resilient data pipelines in Python.
https://prefect.io
Apache License 2.0
15.94k stars 1.56k forks source link

Move log to after task run name is set #14063

Closed jlowin closed 3 months ago

jlowin commented 3 months ago

This INFO log includes the task run name, but task run names won't be finalized until upstream parameters are available, which happens in setup_run_context(). Therefore it prints the decorated function's name even if a custom name was provided.