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

chore(sdk): Remove the (<type>)from docstring args. #10159

Merged
merged 2 commits into from
Oct 26, 2023
Merged

chore(sdk): Remove the (<type>)from docstring args. #10159

merged 2 commits into from
Oct 26, 2023

Conversation

rickyxie0929
Copy link
Contributor

Description of your changes:

  • Remote the (<type>) from the docstring args, which are redundant since there are type annotations.

Checklist:

Remote the ` (<type>)` from the docstring args, which are redundant since there are type annotations.
function (str, optional): The function name to compile.
read (bool): Whether the pipeline/component supports deserialization from YAML (IR, except for V1 component YAML back compatability tests).
write (bool): Whether the pipeline/component supports compilation from a Python file.
name : '{test_group_name}-{test_case_name}'. Useful for print statements/debugging.
Copy link
Member

@connor-mccarthy connor-mccarthy Oct 26, 2023

Choose a reason for hiding this comment

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

Can we trim the leading space before the colon : -> :? (ref: Google Python Style Guide)

Copy link
Member

@connor-mccarthy connor-mccarthy left a comment

Choose a reason for hiding this comment

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

/lgtm
/approve

Thank you!

@google-oss-prow
Copy link

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: connor-mccarthy

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@connor-mccarthy connor-mccarthy changed the title chore: Remove the (<type>)from docstring args. chore(sdk): Remove the (<type>)from docstring args. Oct 26, 2023
@google-oss-prow google-oss-prow bot merged commit 7ab05d8 into kubeflow:master Oct 26, 2023
1 check passed
stijntratsaertit pushed a commit to stijntratsaertit/kfp that referenced this pull request Feb 16, 2024
* chore(sdk): Remove the ` (<type>)`from docstring args.

Remote the ` (<type>)` from the docstring args, which are redundant since there are type annotations.

* Trim the unnecessary leading space.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants