potiuk commented on code in PR #57610:
URL: https://github.com/apache/airflow/pull/57610#discussion_r2779286601
##########
providers/informatica/tests/integration/informatica/operators/__init__.py:
##########
Review Comment:
I think they are added automatically and needed. There is a subtle problem
with "implicit" namespaces - that they do not play well with "Explicit" ones
and we have rules in `prek` hooks that enforce a consistent pattern. The
current pattern is that we use namespaces when we **know** we need them and
then we use **legacy** namespace definition (`__path__ =
__import__("pkgutil").extend_path(__path__, __name__`) where we know we must
have them (for example aill "airflow.providers" folders shoudl have legacy
namespaces, otherwise other providers will not be discovered.
--
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]