Skip to content

Conversation

@amoghrajesh
Copy link
Contributor

Some K8S objects used in airflow code do not use typing as recommended by the client code. Adding typing for SCC objects. Will create future PRs in case I find more of these.

Related old PR: #31275


^ 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 newsfragments.

@boring-cyborg boring-cyborg bot added area:providers provider:cncf-kubernetes Kubernetes (k8s) provider related issues labels Aug 14, 2023
Copy link
Member

@hussein-awala hussein-awala left a comment

Choose a reason for hiding this comment

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

We should keep dict supported for backward compatibility

Copy link
Collaborator

@aritra24 aritra24 left a comment

Choose a reason for hiding this comment

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

LGTM

@hussein-awala hussein-awala added the use public runners Makes sure that Public runners are used even if commiters creates the PR (useful for testing) label Aug 14, 2023
@potiuk
Copy link
Member

potiuk commented Aug 14, 2023

Nice!

Lee-W and others added 2 commits August 14, 2023 16:12
* Add Service Principal Oauth for Databricks. (apache#32969)

* Consolidate OAuth validation and storage (apache#32969)

* Formatting update and added API and Spark to Init Import

* Update documentation with doc ref and note this is for AWS deployments
@potiuk potiuk merged commit 46ffc25 into apache:main Aug 14, 2023
ferruzzi pushed a commit to aws-mwaa/upstream-to-airflow that referenced this pull request Aug 17, 2023
* Adding typing for KPO SCC objects


---------

Co-authored-by: Hussein Awala <hussein@awala.fr>
Co-authored-by: Wei Lee <weilee.rx@gmail.com>
Co-authored-by: John Brandborg <john.brandborg@protonmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:providers provider:cncf-kubernetes Kubernetes (k8s) provider related issues use public runners Makes sure that Public runners are used even if commiters creates the PR (useful for testing)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants