Skip to content

Conversation

@MaksYermak
Copy link
Contributor

Related to discussion in this issue #49187

In this PR I have added provide_session import under the if-clause and import the provide_session decorator only for Airflow 2. Because this decorator is used by code related to Airflow 2 and needed for backward compatibility with Airflow 2.


^ Add meaningful description above
Read the Pull Request Guidelines for more information.
In case of fundamental code changes, an Airflow Improvement Proposal (AIP) is needed.
In case of a new dependency, check compliance with the ASF 3rd Party License Policy.
In case of backwards incompatible changes please leave a note in a newsfragment file, named {pr_number}.significant.rst or {issue_number}.significant.rst, in airflow-core/newsfragments.

@boring-cyborg boring-cyborg bot added area:providers provider:google Google (including GCP) related issues labels Aug 12, 2025
@MaksYermak MaksYermak force-pushed the put-provider-session-import-under-if branch from 4422afb to 34265c1 Compare August 12, 2025 11:17
@VladaZakharova
Copy link
Contributor

This PR passed internal review by Google provider team.

Copy link
Member

@potiuk potiuk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@potiuk potiuk merged commit 42f6e28 into apache:main Aug 21, 2025
75 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:providers provider:google Google (including GCP) related issues

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants