FastAPI-template
FastAPI-template copied to clipboard
Feature rich robust FastAPI template.
模板生成中如果集成mysql时,执行poetry install时会报错,定位后问题为在pyproject.toml {%- if cookiecutter.db_info.name == "mysql" %} "{{cookiecutter.project_name | upper}}_DB_USER=root" root后面缺了一个","
FIrst of all, thank you for creating such a wonderful, feature-rich cookiecutter template. I have a use case where I want to use [dapr.io](https://dapr.io/) and its Python SDK so I...
Problem: The issue is that while all select components function correctly within the Docker environment, I can't access http://localhost:8000 from my computer. Solution: To resolve this, it is necessary to...
app_test\log.py:6: error: Module "opentelemetry.trace" has no attribute "get_current_span" [attr-defined] from opentelemetry.trace import get_current_span ^ app_test\web\lifespan.py:5: error: Module "opentelemetry.exporter.otlp.proto.grpc.trace_exporter" has no attribute "OTLPSpanExporter" [attr-defined] from opentelemetry.exporter.otlp.proto.grpc.trace_exporter import OTLP... ^ app_test\web\lifespan.py:6: error:...
Considering you added Ruff, https://docs.astral.sh/uv/ UV is the next step which is developed by the same group. Any plans on doing this?
When I created a project via "fastapi_template --add-users", it seems not as expected. There is no fastapi_users in pip list, and no db.models.users as well which is imported in web.api.users.views....
I use taskiq with ListQueueBroker (backed by reddis). In the log, I see a lots of worker process interrupted: ``` 2024-10-23 22:22:38.363 | INFO | trace_id=0 | span_id=0 | logging:callHandlers:1706...
The project should either provide test cases with mocked DAO or run the database in GitHub Actions. I prefer providing mocked tests. This will serve as an example of how...
i used this pypi library and after that, it altered my $PATH variable and now i simply cannot revert im using git bash on windows