Skip to content

Instantly share code, notes, and snippets.

@vpipkt
Created June 15, 2022 13:35
Show Gist options
  • Save vpipkt/713aabe16c89754e74e1bde3310df253 to your computer and use it in GitHub Desktop.
Save vpipkt/713aabe16c89754e74e1bde3310df253 to your computer and use it in GitHub Desktop.
import kfp
c = kfp.Client(host="...")
xs = c.experiments.list_experiment(page_size=200).experiments
for x in xs:
if (x.name.startswith('firstgraphidpipe') or x.name.startswith('secondgraphidpipe')) and not x.name.endswith('-us'):
print(x.id+x.name)
c.delete_experiment(x.id)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment