uranusjr commented on code in PR #40478:
URL: https://github.com/apache/airflow/pull/40478#discussion_r1669833782
##########
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 {}
Review Comment:
```suggestion
self.extra = extra or {}
```
nit
--
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]