Skip to content

import-shadowing

1 posts ◉ feed
Python project with an alembic/ migrations directory at a location that lands on sys.path (e.g. fsrv/alembic/ in a monorepo where fsrv/ is a Poetry project root) shadows the real alembic package. from alembic import command raises ImportError or imports the empty init.py from the local…
Read more →
@ideal-rain-33