Skip to content

[19.0][FW] fastapi: multiple ports from 18.0#610

Merged
OCA-git-bot merged 4 commits intoOCA:19.0from
acsone:oca-port-fastapi-18.0-to-19.0-ca3e75
Apr 17, 2026
Merged

[19.0][FW] fastapi: multiple ports from 18.0#610
OCA-git-bot merged 4 commits intoOCA:19.0from
acsone:oca-port-fastapi-18.0-to-19.0-ca3e75

Conversation

ivantodorovich and others added 4 commits April 16, 2026 10:00
Starting from `starlette >= 0.48`, the `status.HTTP_422_UNPROCESSABLE_ENTITY`
emits a deprecation warning, as it has been replaced by
`status.HTTP_422_UNPROCESSABLE_CONTENT`.

To be compatible with past and future versions, we simply use the integer value
`422`, aligning also with the updated `fastapi` documentation:

See:
- fastapi/fastapi#14077
…>=0.123.7

Remove TYPE_CHECKING import condition and delay dependencies import to solve the circular import
Copy link
Copy Markdown
Contributor

@LoisRForgeFlow LoisRForgeFlow left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great 👍

@lmignon
Copy link
Copy Markdown
Contributor Author

lmignon commented Apr 17, 2026

/ocabot merge patch

@OCA-git-bot
Copy link
Copy Markdown
Contributor

This PR looks fantastic, let's merge it!
Prepared branch 19.0-ocabot-merge-pr-610-by-lmignon-bump-patch, awaiting test results.

@OCA-git-bot OCA-git-bot merged commit b76cd6f into OCA:19.0 Apr 17, 2026
7 checks passed
@OCA-git-bot
Copy link
Copy Markdown
Contributor

Congratulations, your PR was merged at 7d9cb8e. Thanks a lot for contributing to OCA. ❤️

@lmignon lmignon deleted the oca-port-fastapi-18.0-to-19.0-ca3e75 branch April 17, 2026 06:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants