hussein-awala commented on code in PR #41814:
URL: https://github.com/apache/airflow/pull/41814#discussion_r1734208210


##########
airflow/datasets/__init__.py:
##########
@@ -108,15 +108,9 @@ def _sanitize_uri(uri: str) -> str:
     if (normalizer := _get_uri_normalizer(normalized_scheme)) is not None:
         try:
             parsed = normalizer(parsed)
-        except ValueError as exception:
+        except ValueError:
             if conf.getboolean("core", "strict_dataset_uri_validation", 
fallback=False):

Review Comment:
   Nit:
   ```suggestion
               if conf.getboolean("core", "strict_dataset_uri_validation", 
fallback=True):
   ```



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