potiuk commented on code in PR #42951:
URL: https://github.com/apache/airflow/pull/42951#discussion_r1801963009


##########
airflow/__init__.py:
##########
@@ -17,6 +17,11 @@
 # under the License.
 from __future__ import annotations
 
+# Make `airflow` a namespace package, supporting installing
+# airflow.providers.* in different locations (i.e. one in site, and one in user
+# lib.)  This is required by some IDEs to resolve the import paths.
+__path__ = __import__("pkgutil").extend_path(__path__, __name__)  # type: 
ignore

Review Comment:
   Nice!



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