Skip to content

Drop stale type:ignore[override] on ExecutionAPISecretsBackend - #68415

Merged
vatsrahul1001 merged 1 commit into
apache:mainfrom
dkranchii:remove-stale-execution-api-secrets-overrides
Aug 3, 2026
Merged

Drop stale type:ignore[override] on ExecutionAPISecretsBackend#68415
vatsrahul1001 merged 1 commit into
apache:mainfrom
dkranchii:remove-stale-execution-api-secrets-overrides

Conversation

@dkranchii

@dkranchii dkranchii commented Jun 11, 2026

Copy link
Copy Markdown
Contributor

Two # type: ignore[override] annotations on ExecutionAPISecretsBackend
are no longer needed; removing them lets mypy verify the override contract
for real instead of silencing it.

  • aget_connection: BaseSecretsBackend has no aget_connection (it
    is sync-only), so [override] cannot fire — there is nothing to
    override.
  • get_connection: signature now matches the base exactly after
    multi-team added team_name to BaseSecretsBackend.get_connection;
    the override only narrows the return type to Connection | None, which
    is a covariant return and accepted. The same pattern is used without
    the ignore in providers/hashicorp/.../vault.py,
    providers/akeyless/.../akeyless.py, and
    airflow-core/.../local_filesystem.py.

Internal type-only cleanup; no runtime behaviour change, no newsfragment.

Follow-up to #65347 / #67216, same pattern.

Was generative AI tooling used to co-author this PR?
  • Yes — Claude

@eladkal
eladkal force-pushed the remove-stale-execution-api-secrets-overrides branch from 500e4a2 to 584130f Compare June 15, 2026 13:52
@eladkal eladkal added this to the Airflow 3.3.0 milestone Jun 15, 2026
@potiuk potiuk added the ready for maintainer review Set after triaging when all criteria pass. label Jun 17, 2026
@dkranchii

Copy link
Copy Markdown
Contributor Author

@vatsrahul1001 can you review this pr.

@dkranchii

Copy link
Copy Markdown
Contributor Author

@ashb can you review this pr.

@vatsrahul1001 vatsrahul1001 added the backport-to-v3-3-test Backport to v3-3-test label Aug 3, 2026
@vatsrahul1001
vatsrahul1001 merged commit 109c257 into apache:main Aug 3, 2026
102 checks passed
@github-actions

github-actions Bot commented Aug 3, 2026

Copy link
Copy Markdown
Contributor

Backport successfully created: v3-3-test

Note: As of Merging PRs targeted for Airflow 3.X
the committer who merges the PR is responsible for backporting the PRs that are bug fixes (generally speaking) to the maintenance branches.

In matter of doubt please ask in #release-management Slack channel.

Status Branch Result
v3-3-test PR Link

github-actions Bot pushed a commit to aws-mwaa/upstream-to-airflow that referenced this pull request Aug 3, 2026
…ckend (apache#68415)

(cherry picked from commit 109c257)

Co-authored-by: Deepak kumar <deepakkumar@meta.com>
aws-airflow-bot pushed a commit to aws-mwaa/upstream-to-airflow that referenced this pull request Aug 3, 2026
…ckend (apache#68415)

(cherry picked from commit 109c257)

Co-authored-by: Deepak kumar <deepakkumar@meta.com>
vatsrahul1001 pushed a commit that referenced this pull request Aug 3, 2026
…ckend (#68415) (#70975)

(cherry picked from commit 109c257)

Co-authored-by: Deepak kumar <deepakkumar@meta.com>
vatsrahul1001 pushed a commit that referenced this pull request Aug 5, 2026
…ckend (#68415) (#70975)

(cherry picked from commit 109c257)

Co-authored-by: Deepak kumar <deepakkumar@meta.com>
dabla pushed a commit to dabla/airflow that referenced this pull request Aug 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:task-sdk backport-to-v3-3-test Backport to v3-3-test ready for maintainer review Set after triaging when all criteria pass.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants