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

SDK/Components/Python - Removed python_op in favor of python_component #85

Merged

Conversation

Ark-kun
Copy link
Contributor

@Ark-kun Ark-kun commented Nov 6, 2018

  • Added test for python_component decorator + func_to_container_op.
  • dsl.PythonComponent helper class is removed, because the metadata is now properly stored in the function object itself.
  • build_python_component now optionally accepts base_image parameter and no longer requires the decorator (but can use decorator's metadata).
  • Made staging_gcs_path optional since it's only needed when build_image == True
  • Added more validation
  • Added description and parameter help to python_component

Fixes #44


This change is Reviewable

* Added test for python_component + func_to_container_op.
* dsl.PythonComponent class is removed, because the metadata is now properly stored in the function object itself.
* build_python_component now optionally accepts base_image and no longer requires the decorator (but can use decorator's metadata).
* Made staging_gcs_path optional since it's only needed when build_image == True
* Added more validation
* Added description and parameter help to python_component
Added more detailed explanation of base_image selection to the docstring.
@qimingj
Copy link
Contributor

qimingj commented Nov 10, 2018

/lgtm

@Ark-kun
Copy link
Contributor Author

Ark-kun commented Nov 11, 2018

@qimingj or @gaoning777 , can you please re-add /lgtm? The robot removed at after I resolved the merge conflict.

@coveralls
Copy link

coveralls commented Nov 11, 2018

Pull Request Test Coverage Report for Build 215

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 67.506%

Totals Coverage Status
Change from base Build 213: 0.0%
Covered Lines: 1535
Relevant Lines: 2182

💛 - Coveralls

Copy link
Contributor

@gaoning777 gaoning777 left a comment

Choose a reason for hiding this comment

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

/lgtm
Since we do not have automatic notebook sample tests, do you mind testing this new sdk version before the merging or releasing?

@k8s-ci-robot
Copy link
Contributor

New changes are detected. LGTM label has been removed.

@k8s-ci-robot k8s-ci-robot removed the lgtm label Nov 17, 2018
@Ark-kun Ark-kun added the lgtm label Nov 17, 2018
@Ark-kun
Copy link
Contributor Author

Ark-kun commented Nov 17, 2018

/approve
I already got approvals from both @gaoning777 and @qimingj multiple times.

@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: Ark-kun

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

@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: Ark-kun

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

@qimingj
Copy link
Contributor

qimingj commented Nov 17, 2018

/lgtm

@k8s-ci-robot k8s-ci-robot merged commit 6a37388 into master Nov 17, 2018
@gaoning777
Copy link
Contributor

/lgtm

@Ark-kun Ark-kun deleted the avolkov/SDK/Components/Python---Unified-decorators- branch November 28, 2018 17:37
Linchin pushed a commit to Linchin/pipelines that referenced this pull request Apr 11, 2023
* v1.10 should print out the actual service account with RBAC errors
  rather than obfuscated user id.

* This should help debug issues with changes to how we configure
  kubectl with minikube.
magdalenakuhn17 pushed a commit to magdalenakuhn17/pipelines that referenced this pull request Oct 22, 2023
… to 1 (kubeflow#85)

* remove annotation and set default timeout

* Set resource on container spec

* Move in min/max replicas inside model spec

* Default scaling target to 1

* Filter built-in annotations and do not propogate

* Resolve framework refactor and small fixes

* Add license header

* Address review comments

* Add filter/union function tests
HumairAK referenced this pull request in red-hat-data-services/data-science-pipelines Mar 11, 2024
Sync downstream changes to upstream.
HumairAK pushed a commit to HumairAK/data-science-pipelines that referenced this pull request Oct 17, 2024
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.

5 participants