-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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 kfp.deprecated from sdk, legacy samples, and legacy tests #11366
chore(sdk): remove kfp.deprecated from sdk, legacy samples, and legacy tests #11366
Conversation
Check out this pull request on See visual diffs & provide feedback on Jupyter Notebooks. Powered by ReviewNB |
f7787e9
to
f425b46
Compare
Signed-off-by: Chen Sun <[email protected]>
f425b46
to
96bac98
Compare
import kfp | ||
from kfp.samples.test.utils import debug_verify |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
debug_verify doesn't seem like it's ever used
samples/core/retry/retry_test.py
Outdated
@@ -13,11 +13,10 @@ | |||
# limitations under the License. | |||
|
|||
import kfp |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
feel free to consider this out of scope, but there's a couple of instances in the updated files, where the direct kfp imports don't look like they are used at all, seems like we can just drop them all together (unless it is intentional?)
samples/v2/cache_test.py
Outdated
import kfp_server_api | ||
from ml_metadata.proto import Execution | ||
|
||
from ..test.two_step import two_step_pipeline |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks like this has been removed
import kfp | ||
from kfp.samples.test.utils import KfpTask | ||
from kfp.samples.test.utils import run_pipeline_func | ||
from kfp.samples.test.utils import TaskInputs | ||
from kfp.samples.test.utils import TaskOutputs | ||
from kfp.samples.test.utils import TestCase | ||
import kfp_server_api | ||
from ml_metadata.proto import Execution | ||
|
||
from kfp.samples.test.utils import KfpTask, TaskInputs, TaskOutputs, TestCase, run_pipeline_func | ||
from .pipeline_secret_env import pipeline_secret_env |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks for cleaning house @chensun ! |
Signed-off-by: Chen Sun <[email protected]>
8621f7b
to
48c8e5e
Compare
/lgtm |
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: chensun 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 |
Description of your changes:
Checklist: