Skip to content

Commit

Permalink
feat: remove openlineage client deprecated from_environment() method (a…
Browse files Browse the repository at this point in the history
…pache#41310)

Signed-off-by: Kacper Muda <[email protected]>
  • Loading branch information
kacpermuda authored Aug 8, 2024
1 parent d9f7feb commit c3286e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion airflow/providers/openlineage/plugins/adapter.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ def get_or_create_openlineage_client(self) -> OpenLineageClient:
"OpenLineage configuration not found directly in Airflow. "
"Looking for legacy environment configuration. "
)
self._client = OpenLineageClient.from_environment()
self._client = OpenLineageClient()
return self._client

def get_openlineage_config(self) -> dict | None:
Expand Down

0 comments on commit c3286e8

Please sign in to comment.