KoviAnusha commented on code in PR #58062:
URL: https://github.com/apache/airflow/pull/58062#discussion_r2532294651
##########
airflow-core/src/airflow/models/serialized_dag.py:
##########
@@ -61,7 +61,7 @@
class _DagDependenciesResolver:
"""Resolver that resolves dag dependencies to include asset id and assets
link to asset aliases."""
- def __init__(self, dag_id_dependencies: Sequence[tuple[str, dict]],
session: Session) -> None:
+ def __init__(self, dag_id_dependencies: Iterable[tuple[str, list]],
session: Session) -> None:
Review Comment:
Got it. Addressed in
https://github.com/apache/airflow/pull/58062/commits/0bc4298262ac7339fdddc5dc87f9075e4322b3a9
##########
airflow-core/src/airflow/models/connection.py:
##########
@@ -372,12 +389,12 @@ def get_extra(self) -> str:
f"Can't decrypt `extra` params for login={self.login}, "
f"FERNET_KEY configuration is missing"
)
- extra_val = fernet.decrypt(bytes(self._extra, "utf-8")).decode()
+ extra_val: str | None = self._safe_decrypt(self._extra)
else:
extra_val = self._extra
if extra_val:
self._validate_extra(extra_val, self.conn_id)
- return extra_val
+ return extra_val or None
Review Comment:
Addressed in
https://github.com/apache/airflow/pull/58062/commits/0bc4298262ac7339fdddc5dc87f9075e4322b3a9
--
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]