KeyError occurs in a simple Alembic use case #1484
Unanswered
brunolnetto
asked this question in
Usage Questions
Replies: 2 comments 2 replies
-
Hi, That seems that in the config is missing the url keyword when calling |
Beta Was this translation helpful? Give feedback.
0 replies
-
You have a good eyesight, sir. I initialized from command run 'alembic init'. Shouldn't it leave the key as a dev-user recommendation? I think so. @CaselIT I use script [1] to initialize my database. Can Alembic run this script for me or is this not how Alembic work? |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Dear fellows,
I (try to) use alembic in a small project. I setup the required URI for database. Since I add it to docker-compose as a command, it should run specifically on app startup. Unfortunately, I get following error. Since I am not familiar with alembic, this is hard for me to solve. The target metadata is 'target_metadata = Base.metadata' in my case. The repository is [1]. Any help is appreciated.
[1] https://github.com/brunolnetto/RF_CNPJ/blob/dockerizer-crawler/alembic/env.py
Beta Was this translation helpful? Give feedback.
All reactions