Repository navigation
Expose metadata filters on episode lists - #169
Open
Mo-Elshenawy1 wants to merge 2 commits into
Open
Mo-Elshenawy1 wants to merge 2 commits into
Mo-Elshenawy1 wants to merge 2 commits into
Conversation
Mo-Elshenawy1
marked this pull request as ready for review
October 15, 2026 17:26
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Changelog
Python callers can filter global and dataset episode lists by metadata.
Docs
None; method documentation is included.
Description
Adds optional
metadata_querytoget_episodes,get_dataset_episodes, andget_dataset_version_episodes. The expression is sent unchanged asmetadataQueryand retained across cursor pagination; omitted filters preserve existing behavior.Validation: 130 tests passed; Pyright, Flake8, Black, and sdist/wheel builds passed on Python 3.8. Live API smoke tests and deployment verification have not been performed.
Fetch episodes and filter their metadata locally.
client.get_episodes(metadata_query='task:fold')