Skip to content

Latest commit

 

History

History
 
 

extendable_fastapi

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

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)

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)

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.

  • ACSONE SA/NV

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.