Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

python: deprecate client.from_environment, do not skip loading config on it #1908

Merged
merged 1 commit into from
Jun 6, 2023

Conversation

mobuchowski
Copy link
Member

In 0.27.1, we added filters to Python OL client. This required us to move place where OL config is read - which now is on client construction, not transport.

However, OpenLineageClient.from_environment() method wasn't changed to accomodate that - and using it skipped config loading.

This change deprecates that method and recommends using constructor instead - after the fix, using it shouldn't differ now from using constructor.

@boring-cyborg boring-cyborg bot added the area:client/python openlineage-python label Jun 6, 2023
potiuk added a commit to potiuk/airflow that referenced this pull request Jun 6, 2023
There was a breaking change in the openlineage-integration-common
that broke the way configuration was read. There is a PR in
OpenLineage/OpenLineage#1908 to address it
that will be merged and released soon. We should exclude the version
that contains the breaking change.
@JDarDagran JDarDagran merged commit 9d27ac0 into main Jun 6, 2023
@JDarDagran JDarDagran deleted the python/fix-from-env-and-deprecate branch June 6, 2023 11:27
potiuk added a commit to apache/airflow that referenced this pull request Jun 6, 2023
…31739)

There was a breaking change in the openlineage-integration-common
that broke the way configuration was read. There is a PR in
OpenLineage/OpenLineage#1908 to address it
that will be merged and released soon. We should exclude the version
that contains the breaking change.
ahidalgob pushed a commit to GoogleCloudPlatform/composer-airflow that referenced this pull request May 15, 2024
…#31739)

There was a breaking change in the openlineage-integration-common
that broke the way configuration was read. There is a PR in
OpenLineage/OpenLineage#1908 to address it
that will be merged and released soon. We should exclude the version
that contains the breaking change.

GitOrigin-RevId: 6f8cd65bde8d2ecb26a35398fdd8373b66904b30
kosteev pushed a commit to GoogleCloudPlatform/composer-airflow that referenced this pull request Sep 19, 2024
…#31739)

There was a breaking change in the openlineage-integration-common
that broke the way configuration was read. There is a PR in
OpenLineage/OpenLineage#1908 to address it
that will be merged and released soon. We should exclude the version
that contains the breaking change.

GitOrigin-RevId: 6f8cd65bde8d2ecb26a35398fdd8373b66904b30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:client/python openlineage-python
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants