Lee-W commented on code in PR #40478:
URL: https://github.com/apache/airflow/pull/40478#discussion_r1669883787
##########
airflow/utils/context.py:
##########
@@ -166,6 +166,44 @@ class OutletEventAccessor:
"""
extra: dict[str, Any]
+ _raw_key: str | Dataset | DatasetAlias
+ dataset_alias_event: DatasetAliasEvent | None
+
+ def __init__(
+ self,
+ extra,
+ *,
+ raw_key: str | Dataset | DatasetAlias,
+ dataset_alias_event: DatasetAliasEvent | None = None,
+ ) -> None:
+ self.extra = extra if extra else {}
+ self._raw_key = raw_key
+ self.dataset_alias_event = dataset_alias_event
+
+ def __str__(self) -> str:
+ return f"OutletEventAccessor(_raw_key={self._raw_key},
extra={self.extra}, dataset_alias_event={self.dataset_alias_event})"
Review Comment:
Just checked. This should be removed.
--
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]