-
### Description
By analogy, I assume the line:
```
"max_length": getattr(value, "max_length", getattr(value, "max_length", None)),
```
should be:
```
"max_length": getattr(value, "max_lengt…
-
### Description
Pydantic models use the field alias for validation and the field name for serialization (unless `prefer_alias=True` is passed explicitly). However the generated OpenAPI shows the al…
-
We should use `loop.sendfile` ([Introduced in Python 3.7](https://docs.python.org/3.7/library/asyncio-eventloop.html#asyncio.loop.sendfile)) to send files and fallback to chunking. This is significant…
-
### Summary
Instead of searching through a sea of commits, comments, and bots posting in the pull request thread preferably we would just edit the message in place with a link and a new section.
##…
-
### Summary
How `HTTPException`s get into OpenAPI spec is done is in https://github.com/litestar-org/litestar/blob/14759558cf231c61049fdd5b65a39eccb8841616/litestar/_openapi/responses.py#L280-L285
…
-
### Summary
In the JWTAuthenticationMiddleware example, the following line gives an error:
`engine = cast("AsyncEngine", connection.app.state.postgres_connection)`
calling keys() on `connection…
-
### Description
Currently `ResponseDataExtractor` merges all values of cookies into a single dictionary, however cookies in the `Set-Cookie` header can have different flags, paths, domains, etc. se…
-
### Summary
from discord:
> There are 2 ways. add --debug to the litestar run command. Or you can change the default LoggingConfig (Litestar.logging_config). The log_exceptions attribute accepts …
ADV1K updated
11 months ago
-
### Summary
Provide a mechanism to revoke a jwt token on /logout similar to `flask-jwt-extended` (https://flask-jwt-extended.readthedocs.io/en/stable/blocklist_and_token_revoking.html).
### Basic Ex…
-
### Summary
There are a few places in the documentation that refer to "repositories". Some examples (perhaps not exhaustive):
- https://docs.litestar.dev/latest/tutorials/repository-tutorial/01-mode…