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


##########
airflow/providers/openlineage/__init__.py:
##########
@@ -14,25 +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
 
-__all__ = ["version"]

Review Comment:
   cc: @mobuchowski -> FYI I replaced the dynamic retrieval of package version 
using importlib metadata with `__init__.py` generation, including the right 
version from provider.yaml. This way we do not need to import the 
importlib_metadata and check for version in package metadata. Version will be 
correctly automatically generated and committed as part of the documentation 
generation step when we prepare provider packages for release.



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