Skip to content

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

Open
esandorfi wants to merge 1 commit into
mainfrom
feat/content-types-batch
Open

esandorfi wants to merge 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.
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