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
This will trigger an AttributeError because Flask-WhooshAlchemy tries to access the model attributes by their names in the table not in the model class:
AttributeError: 'Document' object has no attribute 'dcm_id'
The text was updated successfully, but these errors were encountered:
ghost
changed the title
AttributeError when giving columns a name in the model
AttributeError when giving a column name in the model
Jan 5, 2016
There's my model:
This will trigger an AttributeError because Flask-WhooshAlchemy tries to access the model attributes by their names in the table not in the model class:
AttributeError: 'Document' object has no attribute 'dcm_id'
The text was updated successfully, but these errors were encountered: