Skip to content

Drop unsupported tag/series request params and response fields#64

Open
naruto11eth wants to merge 2 commits into
mainfrom
fix/tags-series-contract-alignment
Open

Drop unsupported tag/series request params and response fields#64
naruto11eth wants to merge 2 commits into
mainfrom
fix/tags-series-contract-alignment

Conversation

@naruto11eth
Copy link
Copy Markdown

@naruto11eth naruto11eth commented Jun 1, 2026

Removes tag/series request params (include_chat, categories_ids, categories_labels) the clients accept but the upstream never binds, and response fields (Tag.chats, Series.categories, Series.chats) it never populates — across the sync and async clients.

include_template and the events include_chat are real and retained (the tag slug-guard is narrowed accordingly). Response casing is unchanged — the public attrs are already tag_id/related_tag_id and the validation_alias keeps reading the upstream tagID wire key.


Note

Medium Risk
Breaking public API removals across four client modules; low runtime risk since removed options were ineffective upstream, but integrators must update call sites.

Overview
Removes gamma tag/series API surface that the upstream does not support, across internal specs, sync/async public and secure clients, and Pydantic models.

Request parameters dropped: include_chat on get_series, get_tag, list_series, and list_tags; categories_ids and categories_labels on list_series. Event include_chat (get/list events) is unchanged. include_template stays on tag endpoints; slug lookup now only rejects include_template (not include_chat).

Response fields removed: Series.categories, Series.chats, and Tag.chats. Unit tests for specs and models are updated accordingly.

This is a breaking change for callers passing the removed kwargs or reading the removed attributes.

Reviewed by Cursor Bugbot for commit 24ff6f9. Bugbot is set up for automated code reviews on this repo. Configure here.

`include_chat` (tags + series), `categories_ids` and `categories_labels`
(series) are accepted but never bound upstream. Remove them from `get_tag`,
`list_tags`, `get_series` and `list_series` across the sync and async clients,
and narrow the tag slug-guard to `include_template`. `include_template` and the
events `include_chat` stay (real params).
Drop `Tag.chats`, `Series.categories` and `Series.chats` — never populated
upstream. Casing is unchanged: public attrs are already `tag_id`/`related_tag_id`
and the `validation_alias` keeps reading the upstream `tagID` wire key.
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