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


##########
airflow-core/src/airflow/models/dagbundle.py:
##########
@@ -69,6 +69,9 @@ def _unsign_url(self) -> str | None:
 
             from airflow.configuration import conf
 
+            if not self.signed_url_template:
+                return None
+

Review Comment:
   Adding this early return for None makes the type check happy and keeps 
_unsign_url() safe from unnecessary calls. Good work!



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