tobiaszorzetto commented on code in PR #36147:
URL: https://github.com/apache/airflow/pull/36147#discussion_r1429283240


##########
airflow/serialization/serde.py:
##########
@@ -360,7 +360,7 @@ def _register():
 @functools.lru_cache(maxsize=None)
 def _get_patterns() -> list[Pattern]:
     patterns = conf.get("core", "allowed_deserialization_classes").split()
-    return [re2.compile(re2.sub(r"(\w)\.", r"\1\..", p)) for p in patterns]
+    return [re2.compile(re2.sub(r"(\w)\.?\*", r"\1\.", p)) for p in patterns]

Review Comment:
   Just added the changes we discussed in this convo. @potiuk @bolkedebruin if 
you guys could let me know what you think and if you have any other 
suggestions, that would be awesome. :)



-- 
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: commits-unsubscr...@airflow.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to