Skip to content

[16.0] [BACKPORT] [FIX] fastapi: Change circular import fix to avoid crash with fastapi>=0.123.7#576

Merged
OCA-git-bot merged 1 commit into
OCA:16.0from
akretion:16.0-fix-fastapi-TYPE_CHECKING-crash
Dec 8, 2025
Merged

[16.0] [BACKPORT] [FIX] fastapi: Change circular import fix to avoid crash with fastapi>=0.123.7#576
OCA-git-bot merged 1 commit into
OCA:16.0from
akretion:16.0-fix-fastapi-TYPE_CHECKING-crash

Conversation

@paradoxxxzero

Copy link
Copy Markdown
Contributor

Backport of #574

…>=0.123.7

Remove TYPE_CHECKING import condition and delay dependencies import to solve the circular import
@OCA-git-bot

Copy link
Copy Markdown
Contributor

Hi @lmignon,
some modules you are maintaining are being modified, check this out!

@lmignon

lmignon commented Dec 8, 2025

Copy link
Copy Markdown
Contributor

/ocabot merge patch

@OCA-git-bot

Copy link
Copy Markdown
Contributor

Hey, thanks for contributing! Proceeding to merge this for you.
Prepared branch 16.0-ocabot-merge-pr-576-by-lmignon-bump-patch, awaiting test results.

@OCA-git-bot OCA-git-bot merged commit 13d5c28 into OCA:16.0 Dec 8, 2025
7 checks passed
@OCA-git-bot

Copy link
Copy Markdown
Contributor

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

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.

3 participants