Skip to content

Conversation

@paradoxxxzero
Copy link
Contributor

This is #540 with pre-commit fixes and rebased

lmignon and others added 24 commits January 13, 2026 14:41
When a field is of an extended type, the assemebled class is not part of the know classes computed by fastapi from the fastapi endepoint definition. Is such a case, we must add the extented type to the list of knwon classes
extendable_fastapi 16.0.2.0.0
[UPD] README.rst
On the StrictExtendableBaseModel, disable strict mode to enable coercion from json by FastAPI
A specialized verion of the PagedCollection from
odoo.addons.fastapi.schemas but supporting extendable models as type a
args.
Register the cleanup of the extendable registry just after its initialisation by calling the  method from unittest. If setUpClass() fails, meaning that tearDownClass() is not called, then any cleanup functions added with a call to  will still be called.

refs OCA#392
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.

6 participants