Lev Vereshchagin
Lev Vereshchagin
### Description This leads to resource leakage. Possibly relevant to #2958. ### URL to code causing the issue https://github.com/vrslev/litestar-sse-cleanup-issue ### MCVE _No response_ ### Steps to reproduce ```bash 1. Follow...
It would be a (small) DX boost not to have to write lifespan yourself. Applicable for FastAPI, Litestar and FastStream. ```python def create_container_lifespan(*containers: that_depends.BaseContainer): @contextlib.asynccontextmanager async def lifespan(*_args: typing.Any, **kwargs:...
### Description When a field is annotated with `typing.NotRequired`, expectation is that `TypedDictFactory.coverage` would generate examples where that field is not set. ### URL to code causing the issue _No...
`poetry add diagrams` leads to `pre-commit` being installed. This should be the case. `poetry.lock`: ```toml [[package]] name = "diagrams" version = "0.24.4" description = "Diagram as Code" optional = false...
### Description OpenAPI discriminant is not generated when using Pydantic tagged unions. ### URL to code causing the issue _No response_ ### MCVE ```python import typing import litestar import pydantic...