Skip to content

fix: fastapi middleware import, tests: middleware imports#6

Merged
Polliog merged 1 commit into
logtide-dev:mainfrom
apelsynca:fix/middleware-imports-fastapi
May 29, 2026
Merged

fix: fastapi middleware import, tests: middleware imports#6
Polliog merged 1 commit into
logtide-dev:mainfrom
apelsynca:fix/middleware-imports-fastapi

Conversation

@apelsynca
Copy link
Copy Markdown
Contributor

Fixed wrong LogTideStarletteMiddleware import inside of logtide_sdk/middleware/fastapi.py

Wrote tests for all imports of middlewares.

@Polliog
Copy link
Copy Markdown
Contributor

Polliog commented May 29, 2026

Nice catch this fixes the last of the relative-to-absolute import regressions (fastapi was importing from logtide_sdk.starlette instead of logtide_sdk.middleware.starlette). CI is green across 3.10-3.14 and the import tests are a good addition. Merging. Thanks! 🙏

@Polliog Polliog merged commit bc37136 into logtide-dev:main May 29, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants