We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b624871 commit 94e0828Copy full SHA for 94e0828
1 file changed
airflow-core/src/airflow/executors/workloads/callback.py
@@ -82,7 +82,11 @@ def key(self) -> CallbackKey:
82
83
@property
84
def display_name(self) -> str:
85
- """Return the callback ID as a display name."""
+ """Return a human-readable name for logging and process titles."""
86
+ if path := self.callback.data.get("path", ""):
87
+ # Use just the function/class name for brevity in process titles.
88
+ # The full path and UUID are available in log messages if needed.
89
+ return path.rsplit(".", 1)[-1]
90
return str(self.callback.id)
91
92
0 commit comments