Skip to content

Expose metadata filters on episode lists - #169

Open
Mo-Elshenawy1 wants to merge 2 commits into
mainfrom
mostafa/api-sync-75851e2c-python-metadata
Open

Mo-Elshenawy1 wants to merge 2 commits into
mainfrom
mostafa/api-sync-75851e2c-python-metadata

Conversation

@Mo-Elshenawy1

@Mo-Elshenawy1 Mo-Elshenawy1 commented Oct 15, 2026 •

Copy link
Copy Markdown
Contributor

Changelog

Python callers can filter global and dataset episode lists by metadata.

Docs

None; method documentation is included.

Description

Adds optional metadata_query to get_episodes, get_dataset_episodes, and get_dataset_version_episodes. The expression is sent unchanged as metadataQuery and 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.

BeforeAfter

Fetch episodes and filter their metadata locally.

client.get_episodes(metadata_query='task:fold')

Comment thread foxglove/client/api.py Outdated

@claude claude Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@Mo-Elshenawy1
Mo-Elshenawy1 marked this pull request as ready for review October 15, 2026 17:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant