André Felipe Dias
André Felipe Dias
Hi, there Could you include a SQLAlchemy example in the documentation? I'm using the following code but it doesn't work: import pytest from projeto import create_app, db as _db @pytest.fixture(scope='session')...
I'd like very much to use docker-fabric in my projects (especially in testing) but I'm having a hard time trying to figure out how to use it. The examples in...
I'd like to use `http` with HTTP/2 to test localhost served by Caddy and its localhost self-signed certificates. However, even with option `--verify no`, `http` (with `httpie-http2`) still verifies the...
* Cookiecutter version: 2.5.0 * Template project url: * Python version: 3.11 * Operating System: Ubuntu 23.10 ### Description: The [documentation about hook execution](https://cookiecutter.readthedocs.io/en/stable/advanced/hooks.html#hook-execution) says: > pre_prompt: Scripts run in...
As `pytest-asyncio`, it seems that `alt-pytest-asyncio` also doesn't propagate ContextVar to tests. Instead of duplicating the problem description, I will list the references to the issue below: * [ContextVar not...
[FastHx](https://volfpeter.github.io/fasthx/) should be used to adopt HTMX into the perfect project template. It is better than the current partial implementation.
[Granian](https://github.com/emmett-framework/granian) looks promising. Maybe it can be used to replace Hypercorn as the default ASGI Server.
Improve FastAPI (minimum and complete) projects to log uncaught errors. Other ideas that can be used are well presented at [FastAPI Server Errors And Logs — Take Back Control](https://medium.com/@roy-pstr/fastapi-server-errors-and-logs-take-back-control-696405437983)
According to [0.8.0 release notes](https://github.com/encode/databases/releases/tag/0.8.0): > This release improves isolation of connections and transactions across concurrent tasks: > > * Database connections are now task-local and are not inherited by...
From time to time, it is desirable to squash the migrations to keep them short. This [article](https://notes.alexkehayias.com/squash-migrations-using-alembic/) proposes an interesting approach.