question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

method to check if SDK is talking to a real KFP API

See original GitHub issue

Currently, there does not seem to be a method on kfp.Client() which can reliably confirm that the url provided is actually a Kubeflow Pipelines API.

NOTE: methods like Client().list_pipelines() return {'next_page_token': None, 'pipelines': None, 'total_size': None} when run against non-kubeflow apis (which is indistinguishable from there being no pipelines in the cluster).

What is the best way to determine that a kfp.Client() instance is valid?

Issue Analytics

  • State:open
  • Created 2 years ago
  • Comments:6 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
NikeNanocommented, Sep 21, 2021
0reactions
stale[bot]commented, Mar 2, 2022

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

Read more comments on GitHub >

github_iconTop Results From Across the Web

kfp.Client class — Kubeflow Pipelines documentation
API Client for KubeFlow Pipeline. Parameters: host – The host name to use to talk to Kubeflow Pipelines. If not set, the ......
Read more >
Using the Kubeflow Pipelines SDK
Install the Kubeflow Pipelines SDK; Run the following command to check the version of the SDK. pip list | grep kfp. The response...
Read more >
Google Codelabs
Google Developers Codelabs provide a guided, tutorial, hands-on coding experience. Most codelabs will step you through the process of building a small ...
Read more >
Build a pipeline | Vertex AI | Google Cloud
This guide describes how to get started building ML pipelines. Which pipelines SDK should I use? Vertex AI Pipelines can run pipelines built...
Read more >
How to use ExitHandler with Kubeflow Pipelines SDK v2
You could try to use the library from kfp.deprecated import dsl if you want the ExitHandler to work the same. – Jose Gutierrez...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found