Skip to content

Run & Folder Filtering and Starring#900

Merged
kzscisoft merged 9 commits intodevfrom
kzscisoft/filter-object
Mar 9, 2026
Merged

Run & Folder Filtering and Starring#900
kzscisoft merged 9 commits intodevfrom
kzscisoft/filter-object

Conversation

@kzscisoft
Copy link
Collaborator

@kzscisoft kzscisoft commented Dec 8, 2025

Add Filter Interface to Run and Folder Low Level API and Starring

Issue: N/A

Python Version(s) Tested: 3.13.5

Operating System(s): Ubuntu 25.10

Documentation PR: Issue on Docs repo.

📝 Summary

  • Adds a user-friendly interface in the LLAPI for applying filters during Run and Folder retrieval.
  • Adds missing ability to star folders and runs.

🔄 Changes

Starring

You can now star folders and runs using the low level API, note starring is only possible after an object has already been created:

from simvue.api.objects import Run, Folder

_folder = Folder.new(path="/my_test_folder")
_folder.commit()
_folder.star = True
_folder.commit()

_run = Run.new(folder="/my_test_folder")
_run.commit()
_run.star = True
_run.commit()

Filtering Runs and Folders

There is now a new submodule simvue.api.objects.filters which handles assembly and creation of filter strings.

_run_search = Run.filter().has_tag("my_tag").starred().has_name_containing("my")
print(_run_search.count())

for id, run in _run_search.get():
   ...

✔️ Checklist

  • Unit and integration tests passing.
  • Pre-commit hooks passing.
  • Quality checks passing.
  • Updated the documentation.

@kzscisoft kzscisoft requested a review from wk9874 December 8, 2025 13:41
@kzscisoft kzscisoft added this to the Simvue Python API v2.4 milestone Mar 9, 2026
@kzscisoft kzscisoft merged commit a0c8950 into dev Mar 9, 2026
21 of 22 checks passed
@kzscisoft kzscisoft deleted the kzscisoft/filter-object branch March 9, 2026 15:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant