FastAPI Encrypted Errors
fastapi_encrypted_errors · OCA/rest-framework
Health
47/100
poor
-
Security25/25No findings
-
Activity12/25Last human commit 22 months ago
-
Required by5/250 modules depend on it
-
Maturity5/25In 1 Odoo series since 16.0
Heuristic over the facts below, not an audit · How it's computed
Required by
0
Modules depending on it
External deps
7 pip · 0 bin
Python packages / system binaries
License
AGPL-3
No conflicts with its dependencies
Folder size
0.05 MB
Module directory on disk
Code analysis
1 migration note
2 models
2 views
0 HTTP endpoints
Migration considerations
fastapi_endpoint_form_view— Migrating to 17.0: `attrs=`/`states=` are rejected in views: convert them to Python expressions in `invisible`/`readonly`/`required`, keeping the original AND/OR logic. migration-view-attrs-states · source
Migration review checklist, not a compatibility verdict. "Migrating to X.0" applies once you upgrade to that version; "Since X.0" means this version already ignores or rejects that code. Methodology
Description
Dependencies
- Odoo dependencies
- Python dependencies
- cryptography, a2wsgi>=1.10.6, fastapi, fastapi-openapi-overrides, parse-accept-language, python-multipart, ujson
- System dependencies
- None
- Required by
- None
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 2
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
fastapi_endpoint_form_view |
fastapi.endpoint | form | Inherits fastapi.fastapi_endpoint_form_view | |
wizard_fastapi_decrypt_errors_view_form |
wizard.fastapi.decrypt.errors | form | New |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 2
New fields (2)
-
encrypt_errorsBooleanhelp='Encrypt errors before sending them to the client.' -
encrypted_errors_secret_keyChardefault=<expr>help='The secret key used to encrypt errors before sending them to the client.'readonly=True
-
action_generate_encrypted_errors_secret_key(self)
New fields (3)
-
decrypted_errorTextreadonly=True -
errorTextrequired=True -
fastapi_endpoint_idMany2one → fastapi.endpointdefault=<expr>required=Truestring='FastAPI Endpoint' args: 'fastapi.endpoint'
-
action_decrypt_error(self)