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


##########
airflow/providers/google/__init__.py:
##########
@@ -14,27 +15,24 @@
 # KIND, either express or implied.  See the License for the
 # specific language governing permissions and limitations
 # under the License.
+#
+# NOTE! THIS FILE IS AUTOMATICALLY GENERATED AND WILL BE
+# OVERWRITTEN WHEN PREPARING DOCUMENTATION FOR THE PACKAGES.
+#
+# IF YOU WANT TO MODIFY IT, YOU SHOULD MODIFY THE TEMPLATE
+# `PROVIDER__INIT__PY_TEMPLATE.py.jinja2` IN the `dev/provider_packages` 
DIRECTORY
+#
 from __future__ import annotations
 
-import importlib
-import logging
+import packaging.version
 
-# HACK:
-# Sphinx-autoapi doesn't like imports to excluded packages in the main module.
-conf = importlib.import_module("airflow.configuration").conf  # type: 
ignore[attr-defined]
+import airflow
 
-PROVIDERS_GOOGLE_VERBOSE_LOGGING: bool = conf.getboolean(

Review Comment:
   @mik-laj - does it ring a bell? 



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