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

Resolve test pool unit test warnings #38981

Merged

Conversation

idantepper
Copy link
Contributor

related: #38642

I removed the initialization of TaskInstance from using execution_date to using run_id
before changing when running the tests the following warn was given
https://github.com/apache/airflow/blob/main/airflow/models/taskinstance.py

            warnings.warn(
                "Passing an execution_date to `TaskInstance()` is deprecated in favour of passing a run_id",
                RemovedInAirflow3Warning,
                # Stack level is 4 because SQLA adds some wrappers around the constructor
                stacklevel=4,
            )

@eladkal eladkal requested a review from Taragolis April 13, 2024 12:23
@Taragolis Taragolis added the changelog:skip Changes that should be skipped from the changelog (CI, tests, etc..) label Apr 13, 2024
@Taragolis Taragolis merged commit 7dee832 into apache:main Apr 13, 2024
42 checks passed
@eladkal eladkal added this to the Airflow 2.9.1 milestone Apr 13, 2024
@jedcunningham jedcunningham removed this from the Airflow 2.9.1 milestone Apr 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
changelog:skip Changes that should be skipped from the changelog (CI, tests, etc..)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants