Skip to content

Fix execute_async method key parameter type hint in AwsBatchExecutor #67269

Closed
Prab-27 wants to merge 1 commit into
apache:mainfrom
Prab-27:fix-mypy-internal-cicd-error
Closed

Fix execute_async method key parameter type hint in AwsBatchExecutor #67269
Prab-27 wants to merge 1 commit into
apache:mainfrom
Prab-27:fix-mypy-internal-cicd-error

Conversation

@Prab-27
Copy link
Copy Markdown
Contributor

@Prab-27 Prab-27 commented May 21, 2026

Fix mypy and remove str from execute_async method key argument
Use TaskInstance class in tests for key instance


Was generative AI tooling used to co-author this PR?
  • Yes (please specify the tool below)

  • Read the Pull Request Guidelines for more information. Note: commit author/co-author name and email in commits become permanently public when merged.
  • For fundamental code changes, an Airflow Improvement Proposal (AIP) is needed.
  • When adding dependency, check compliance with the ASF 3rd Party License Policy.
  • For significant user-facing changes create newsfragment: {pr_number}.significant.rst, in airflow-core/newsfragments. You can add this file in a follow-up commit after the PR is created so you know the PR number.

@boring-cyborg boring-cyborg Bot added area:providers provider:amazon AWS/Amazon - related issues provider:cncf-kubernetes Kubernetes (k8s) provider related issues labels May 21, 2026
@Prab-27
Copy link
Copy Markdown
Contributor Author

Prab-27 commented May 21, 2026

OOPs !! it has one more error
working on it !

@amoghrajesh
Copy link
Copy Markdown
Contributor

@Prab-27 some work is needed:

  suspended_providers  {'apache-airflow-providers-apache-beam'}
  Found 1 error in providers
  Error: The `airflow.providers.amazon.aws.executors.batch.batch_executor.AwsBatchExecutor` object in executors list in providers/amazon/provider.yaml does not exist or is not a class: cannot import name 'BatchJobWorkloadKey' from 'airflow.providers.amazon.aws.executors.batch.utils' (/opt/airflow/providers/amazon/src/airflow/providers/amazon/aws/executors/batch/utils.py)

  Error 1 returned

@Prab-27
Copy link
Copy Markdown
Contributor Author

Prab-27 commented May 21, 2026

There's already a PR - #67268
Closing !

@Prab-27 Prab-27 closed this May 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:providers provider:amazon AWS/Amazon - related issues provider:cncf-kubernetes Kubernetes (k8s) provider related issues

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants