-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Description
👋 Looks like this change in SQLAlchemy 1.4.0 is a problem: https://docs.sqlalchemy.org/en/14/changelog/migration_14.html#the-url-object-is-now-immutable
@contextmanager
def admin_db_connection(db_url):
url = copy_url(db_url)
dbtype = url.get_dialect().name
if dbtype == "postgresql":
> url.database = ""
E AttributeError: can't set attribute
.venv/lib/python3.8/site-packages/sqlbag/sqla.py:214: AttributeError
Metadata
Metadata
Assignees
Labels
No labels