KoviAnusha commented on code in PR #58062:
URL: https://github.com/apache/airflow/pull/58062#discussion_r2530225938


##########
airflow-core/src/airflow/models/connection.py:
##########
@@ -372,12 +379,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 = fernet.decrypt(bytes(self._extra, 
"utf-8")).decode()

Review Comment:
   Thanks for the suggestion. Addressed here 
https://github.com/apache/airflow/pull/58062/commits/b10d37a306b4a3d89ed85ef64b126255a9bfda0b.
 Could you please review this?



-- 
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]

Reply via email to