ferruzzi commented on code in PR #54388:
URL: https://github.com/apache/airflow/pull/54388#discussion_r2274663298
##########
task-sdk/src/airflow/sdk/definitions/deadline.py:
##########
@@ -124,6 +124,28 @@ def __init__(self, callback_callable: Callable | str,
kwargs: dict | None = None
self.path = self.get_callback_path(callback_callable)
self.kwargs = kwargs
+ @staticmethod
+ def _is_valid_dotpath(path: str) -> bool:
Review Comment:
Yeah, anywhere in a "utils" type location would be a fair call IMHO. I
didn't think of `module_loading.py` but I like that solution.
--
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]