Comments (12)
I couldn't find the solution previously. @mxft, that's lit! I'll fix it later.
from fastapi-template.
🤔 🤔 🤔 🤔
How could possible asyncio be partially initialized? Can you please give me all parameters you were using from pyproject.toml
? Section called [fastapi-template.options]
.
from fastapi-template.
Do you have a module called asyncio in your codebase?
from fastapi-template.
Or any name that can be the same with some modules from the sandard library?
from fastapi-template.
🤔 🤔 🤔 🤔
How could possible asyncio be partially initialized? Can you please give me all parameters you were using from
pyproject.toml
? Section called[fastapi-template.options]
.
[fastapi-template.options]
project_name = "test_template"
api_type = "rest"
enable_redis = "None"
enable_rmq = "None"
ci_type = "gitlab_ci"
enable_migrations = "True"
enable_taskiq = "True"
enable_kube = "True"
kube_name = "test-template"
enable_routers = "True"
enable_kafka = "True"
enable_loguru = "True"
traefik_labels = "True"
add_dummy = "True"
orm = "ormar"
self_hosted_swagger = "None"
prometheus_enabled = "True"
sentry_enabled = "True"
otlp_enabled = "True"
pydanticv1 = "True"
gunicorn = "None"
add_users = "None"
cookie_auth = "None"
jwt_auth = "None"
Do you have a module called asyncio in your codebase?
Only original asyncio library
Or any name that can be the same with some modules from the sandard library?
No
from fastapi-template.
I have the same for me.
[fastapi-template.options]
project_name = "img_store"
api_type = "rest"
enable_redis = "None"
enable_rmq = "None"
ci_type = "none"
enable_migrations = "True"
enable_taskiq = "None"
enable_kube = "None"
kube_name = "img-store"
enable_routers = "True"
enable_kafka = "None"
enable_loguru = "True"
traefik_labels = "None"
add_dummy = "True"
orm = "sqlalchemy"
self_hosted_swagger = "None"
prometheus_enabled = "None"
sentry_enabled = "None"
otlp_enabled = "None"
pydanticv1 = "None"
gunicorn = "True"
add_users = "None"
cookie_auth = "None"
jwt_auth = "None"
from fastapi-template.
Guess I know the solution for that. Thanks for finding it out.
from fastapi-template.
Guess I know the solution for that. Thanks for finding it out.
And what's the solution? The problem is still present
from fastapi-template.
Fixed it. Just rename logging.py
to _logging.py
or whatever you want it to be
from fastapi-template.
Fixed it. Just rename
logging.py
to_logging.py
or whatever you want it to be
Rename does work, but could you please explain what's the bug and how did you come up with that solution ?
from fastapi-template.
Rename does work, but could you please explain what's the bug and how did you come up with that solution ?
I didn't dive much into it, but I just though that it has something to do with from logging import ...
mixing up in different places, so I just tried to rename the local module since it has the same name and may interfere in some way. It did the job, as you can see.
@s3rius can we expect the repository to be updated in near future? It pretty much seems abandoned at this point, but fixing major problems and bumping some package versions won't take much of your time
from fastapi-template.
I see, thanks for your reply
from fastapi-template.
Related Issues (20)
- TypeError: 'type' object is not subscriptable HOT 2
- Alembic supports HOT 3
- Taskiq Mypy validation error HOT 1
- pytest is not working with kafka HOT 3
- Docker Conflict. The container name "/buildx_buildkit_default" HOT 3
- How setup VSC launch.json for run debugging app HOT 1
- Add Ruff HOT 2
- RuntimeError After Pytest Completion
- ImportError: cannot import name 'auth_cookie' HOT 3
- PEP 604 Optional[] HOT 3
- Please add NATS support HOT 1
- Unable to locate GCC
- Mac m1, do not progress HOT 1
- feat: Add Support for PDM
- Fast api
- Anyone has pytest working with docker-compose ? HOT 2
- Resolving dependencies... (201.9 s) HOT 3
- Pre Commits Hooks fails when installed with Python-3.12.1 HOT 1
- partially initialized module 'asyncio' has no attribute 'get_running_loop' HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fastapi-template.