Skip to content

Failed to list or delete runs for project #1867

@jsimao71

Description

@jsimao71

WHAT:
Trying to list (and delete) run for a project.

Similar to example in this tutorial that shows usage for list_runs(), and delete_run():
https://github.com/evidentlyai/evidently/blob/main/examples/service/workspace_tutorial.ipynb

However, on evidently 0.7.20 and 0.7.21 I get error NotImplemented.

REQUEST FOR INFO:
Which version of Evidenltly supports listing and deleting of runs (snapshoot) in a project?
Is this supported in the FreeOpenSource version?

Thanks in advance for this info!

[evi_cli.py](https://gitlab.****.dev/datascience_rnd/mlops/mlops_tools/-/blob/main/src/evi_cli.py?ref_type=heads)
$ python evi_cli.py 
019c2cf9-fd5b-79e6-b1fa-ca0a9055fe33 Churn Churn
...
  File "/opt/conda/lib/python3.10/site-packages/evidently/ui/workspace.py", line 1230, in list_runs
    raise NotImplementedError  # todo: snapshot api
NotImplementedError

Code:

 ws = RemoteWorkspace(EVIDENTLY_URI)
projects = ws.list_projects()

for project in projects:
    prj= ws.get_project(project.id)
    print(prj.id, prj.name, prj.description)
    runs = ws.list_runs(prj.id)
    for run in runs:
        print(f"Snapshot ID: {run.id}, Timestamp: {run.timestamp}")

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions