Skip to main content

Allows the use of extendable into fastapi apps

Project description

Beta License: LGPL-3 OCA/rest-framework Translate me on Weblate Try me on Runboat

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

Authors

  • ACSONE SA/NV

Contributors

Maintainers

This module is maintained by the OCA.

Odoo Community Association

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:

lmignon

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

File details

Details for the file odoo_addon_extendable_fastapi-16.0.2.1.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for odoo_addon_extendable_fastapi-16.0.2.1.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 789e14545b31f8164e1d7bff3400dbc4656c03c6060ea0ac52608e59a6a251eb
MD5 848013869a0edf5341b32e3f1ab9b74d
BLAKE2b-256 826b59b263c04a5cb5277c37088a1ad95c410c7ff7f061c1e53e64570e856056

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page