kaxil commented on code in PR #44216:
URL: https://github.com/apache/airflow/pull/44216#discussion_r1850785044
##########
airflow/traces/tracer.py:
##########
@@ -243,41 +237,52 @@ def start_span_from_taskinstance(
return EMPTY_SPAN
-class _Trace(type):
- factory: Callable
+class _TraceMeta(type):
+ factory: Callable[[], Tracer] | None = None
instance: Tracer | EmptyTrace | None = None
- def __getattr__(cls, name: str) -> str:
+ def __getattr__(cls, name: str):
Review Comment:
Correct
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]