Describe the bug
When I insert recursive_version_locations = false into pyproject.toml raises FAILED: unsupported TOML value type
Expected behavior
Working migration creation with recursive_version_locations = false
To Reproduce
Insert recursive_version_locations = false into [tool.alembic] in pyproject.toml.
Error
FAILED: unsupported TOML value type
Versions.
- OS: Alt Linux Workstation 11.0
- Python: 3.12.7
- Alembic: 1.16.2
- SQLAlchemy: 2.0.41
- Database: PostgreSQL 17.5
- DBAPI: asyncpg 0.30.0
Additional context
The solution to the problem is to wrap the boolean value in quotation marks:
recursive_version_locations = "false"
Have a nice day!
Describe the bug
When I insert
recursive_version_locations = falseinto pyproject.toml raisesFAILED: unsupported TOML value typeExpected behavior
Working migration creation with
recursive_version_locations = falseTo Reproduce
Insert
recursive_version_locations = falseinto [tool.alembic] in pyproject.toml.Error
FAILED: unsupported TOML value typeVersions.
Additional context
The solution to the problem is to wrap the boolean value in quotation marks:
recursive_version_locations = "false"Have a nice day!