Describe the bug
start with alembic init migrations and you will get the error. Basically fileConfig expects an str not None. By default when alembic is called via the cli the parameter is filled with alembic.ini but in the class definition of Config by default is None
Expected behavior
To Reproduce
Please try to provide a Minimal, Complete, and Verifiable example, with the migration script and/or the SQLAlchemy tables or models involved.
See also Reporting Bugs on the website.
Error
# Copy error here. Please include the full stack trace.
Versions.
- OS:
- Python:
- Alembic: alembic 1.7.6
- SQLAlchemy:
- Database:
- DBAPI:
Additional context
Have a nice day!
Describe the bug
start with
alembic init migrationsand you will get the error. BasicallyfileConfigexpects anstrnotNone. By default when alembic is called via the cli the parameter is filled withalembic.inibut in the class definition ofConfigby default is NoneExpected behavior
To Reproduce
Please try to provide a Minimal, Complete, and Verifiable example, with the migration script and/or the SQLAlchemy tables or models involved.
See also Reporting Bugs on the website.
# Insert code hereError
Versions.
Additional context
Have a nice day!