-
### Description
I'm porting my app from FastAPI to Litestar.
Models which worked in FastAPI using SQLAlchemy (async) + Alembic no longer work in Litestar
It throws the following error
```
…
-
### Summary
The `media_type` is not inferred correctly when rendering a Jinja template with file extensions other than `.html` such as `.jinja`, `.jinja2`, `.j2`.
So instead of passing a `media_ty…
ADV1K updated
11 months ago
-
### Summary
It's a fair use case to have a set of routes (class-based controller) that share the same dependency.
This is useful if in every route you want to access to headers, host or other requ…
-
### Description
Installing (local) package / project with poetry fails when attempting to containerize my app (tbh just a single script).
Installation on dev machine runs fine. From here I copy …
-
Trade-off should be made between the current Bottle Framework and a new one like FastAPI (see https://fastapi.tiangolo.com/#requirements).
-
### Describe the use case
In using the Litestar framework I've ran into a problem with having a session config with multiple engines, boiling down to the `binds` argument to `Session`. It wants to es…
-
### Things to check first
- [X] I have searched the existing issues and didn't find my feature already requested there
### Feature description
First of all, many thanks for this excellent library.…
-
I want to use Msgspec for both request and response, like this:
```python
from litestar import Litestar, Response, post
from msgspec import Struct
class TestRequest(Struct):
number: int…
-
### Summary
would be more fair to set the same cpu lmit for exery framework ( like we do when we deploy in K8S)
by adding `nano_cpus` to the docker run
I changed this line
```python
ret…
-
### Summary
Currently, when a route is not found it raises a `NotFoundException` which is not handled when on debug mode. Arguably, this is a very common scenario, during development, and the excep…