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

Clarify docstring for build_pod_request_obj #20574

Merged
merged 2 commits into from
Dec 30, 2021

Conversation

dstandish
Copy link
Contributor

It's unclear what was referred to by pod because there isn't a pod parameter. I attempt to replace with clearer (and accurate) information.

It's unclear what was referred to by `pod` because there isn't a `pod` parameter. I attempt to replace with clearer (and accurate) information.
@boring-cyborg boring-cyborg bot added provider:cncf-kubernetes Kubernetes provider related issues area:providers labels Dec 30, 2021

Full pod spec overrides pod template, and operator params take highest precedence.
Copy link
Contributor

Choose a reason for hiding this comment

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

Would reverse the order so that the most important variable is mentioned first:

Suggested change
Full pod spec overrides pod template, and operator params take highest precedence.
The V1Pod attributes are selected from (first to last): operator params, full pod spec, pod template file.

Copy link
Member

@kaxil kaxil left a comment

Choose a reason for hiding this comment

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

LGTM once @BasPH 's comment is addressed

@github-actions
Copy link

The PR is likely OK to be merged with just subset of tests for default Python and Database versions without running the full matrix of tests, because it does not modify the core of Airflow. If the committers decide that the full tests matrix is needed, they will add the label 'full tests needed'. Then you should rebase to the latest main or amend the last commit of the PR, and push it with --force-with-lease.

@github-actions github-actions bot added the okay to merge It's ok to merge this PR as it does not require more tests label Dec 30, 2021
@kaxil kaxil merged commit e07e831 into apache:main Dec 30, 2021
@kaxil kaxil deleted the clarify-kpo-docstring branch December 30, 2021 16:41
@kaxil kaxil added changelog:skip Changes that should be skipped from the changelog (CI, tests, etc..) kind:documentation labels Dec 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:providers changelog:skip Changes that should be skipped from the changelog (CI, tests, etc..) kind:documentation okay to merge It's ok to merge this PR as it does not require more tests provider:cncf-kubernetes Kubernetes provider related issues
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants