You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In old version of sqlalchemy, that don't have Computed or Identity a fallback in alembic is used.
The current fallback is to set these values to type(None)
This causes issues since checks like isinstance(something, Computed) will pass when something is None, leading to attribute errors.
The text was updated successfully, but these errors were encountered:
File "/usr/local/lib/python3.6/site-packages/alembic/ddl/sqlite.py", line 56, in requires_recreate_in_batch
and col.server_default.persisted
AttributeError: 'NoneType' object has no attribute 'persisted'
In old version of sqlalchemy, that don't have Computed or Identity a fallback in alembic is used.
The current fallback is to set these values to
type(None)
This causes issues since checks like
isinstance(something, Computed)
will pass when something isNone
, leading to attribute errors.The text was updated successfully, but these errors were encountered: