Lev Vereshchagin

Results 15 issues of 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...

Bug :bug:

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:...

enhancement
good first issue

### 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...

bug

`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...

Enhancement