-
-
Notifications
You must be signed in to change notification settings - Fork 354
[18.0][MIG] extendable_fastapi #540
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: 18.0
Are you sure you want to change the base?
[18.0][MIG] extendable_fastapi #540
Conversation
|
/ocabot migrate extendable_fastapi |
|
Hi @lmignon. Your command failed:
Ocabot commands
More information
|
|
/ocabot migration extendable_fastapi |
lmignon
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for the migratiojn @grindtildeath. Can you fix the pre-commit so everything will be OK.
8faa13a to
9badc28
Compare
…thin fastapi apps
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
[UPD] README.rst
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
9badc28 to
66e935f
Compare
66e935f to
05ee2e6
Compare
|
There hasn't been any activity on this pull request in the past 4 months, so it has been marked as stale and it will be closed automatically if no further activity occurs in the next 30 days. |
No description provided.