AttributeError: 'NoneType' object has no attribute 'configure'
when running migrations
#862
Unanswered
jtpavlock
asked this question in
Usage Questions
Replies: 1 comment 2 replies
-
hi there - we just had a similar issue the other day and I would ask that you remove these imports and related code:
then see if the issue goes away. review your own application to see that they are not emitting any alembic API calls or command within the "import" phase or related phases of these other modules. |
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
-
Describe the bug
The above error occurs when trying to run a migration
Here's my
env.py
:Expected behavior
When autogenerating a migration, no errors to occur.
To Reproduce
Working on this. Wanted to see if you had any initial thoughts before trying to create a minimal example.
Versions.
Additional context
I'm not sure what changed, but I used to be able to run migrations just fine. I didn't think I had altered any relevant code to the migration process.
Have a nice day!
Beta Was this translation helpful? Give feedback.
All reactions