Skip to content

feat(content_type)!: type the taxonomy batch actions and results - #23

Merged
MightyGoldenOctopus merged 1 commit into
mainfrom
feat/content-types-batch
Sep 30, 2026
Merged

MightyGoldenOctopus merged 1 commit into
mainfrom
feat/content-types-batch

Conversation

@esandorfi

Copy link
Copy Markdown
Collaborator

ContentType.batch() now takes ContentTypeAction and returns ContentTypeResult, matching File.batch_facets(). Raw dicts still work.

BREAKING CHANGE: results are no longer subscriptable, r["status"] becomes r.status. Taken over a dict-like shim, which would have left one batch endpoint's results permanently unlike the other's.

`ContentType.batch()` now takes `ContentTypeAction` and returns
`ContentTypeResult`, matching `File.batch_facets()`. Raw dicts still work.

BREAKING CHANGE: results are no longer subscriptable, `r["status"]` becomes
`r.status`. Taken over a dict-like shim, which would have left one batch
endpoint's results permanently unlike the other's.
@MightyGoldenOctopus
MightyGoldenOctopus merged commit 02a59a1 into main Sep 30, 2026
5 checks passed
@MightyGoldenOctopus
MightyGoldenOctopus deleted the feat/content-types-batch branch September 30, 2026 09:43
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.

2 participants