Skip to main content

Allows the use of extendable into fastapi apps

Project description

Odoo Community Association

Extendable Fastapi

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

If you're not sure about the file name format, learn more about wheel file names.

File details

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

File metadata

File hashes

Hashes for odoo_addon_extendable_fastapi-18.0.1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 25572d5bcf779f25c00b11ca8f2aaf922306659b8544ddf166064a144b7cbb8d
MD5 0fd988c17f6e4c1ba4238d9fc09948b6
BLAKE2b-256 20e56722d9222c65d14c4ba7f035101ffc6682d1b198743eb24c5e85269d65a6

See more details on using hashes here.

Supported by

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