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.

… on it

Signed-off-by: Maciej Obuchowski <obuchowski.maciej@gmail.com>
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
46 of 49 checks passed
@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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants