Allows the use of extendable into fastapi apps
Project description
This addon is a technical addon used to allows the use of extendable classes in the implementation of your fastapi endpoint handlers. It also allows you to use extendable_pydantic models when defining your endpoint handlers request and response models.
Table of contents
Changelog
16.0.2.1.1 (2023-11-07)
Bugfixes
Fix registry corruption when running tests difined in a class inheriting of the FastAPITransactionCase class if an error occurs in the setUpClass after the call to super(). (#392)
16.0.2.1.0 (2023-10-13)
Features
New base schemas: PagedCollection. This schema is used to define the the structure of a paged collection of resources. This schema is similar to the ones defined in the Odoo’s fastapi addon but works as/with extendable models.
The StrictExtendableBaseModel has been moved to the extendable_pydantic python lib. You should consider to import it from there. (#380)
Bug Tracker
Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us to smash it by providing a detailed and welcomed feedback.
Do not contact contributors directly about support or help with technical issues.
Credits
Contributors
Laurent Mignon <laurent.mignon@acsone.eu> (https://acsone.eu)
Marie Lejeune <marie.lejeune@acsone.eu> (https://acsone.eu)
Maintainers
This module is maintained by the OCA.
OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use.
Current maintainer:
This module is part of the OCA/rest-framework project on GitHub.
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
File details
Details for the file odoo_addon_extendable_fastapi-16.0.2.1.1.1-py3-none-any.whl
.
File metadata
- Download URL: odoo_addon_extendable_fastapi-16.0.2.1.1.1-py3-none-any.whl
- Upload date:
- Size: 30.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 789e14545b31f8164e1d7bff3400dbc4656c03c6060ea0ac52608e59a6a251eb |
|
MD5 | 848013869a0edf5341b32e3f1ab9b74d |
|
BLAKE2b-256 | 826b59b263c04a5cb5277c37088a1ad95c410c7ff7f061c1e53e64570e856056 |