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
{{ message }}
Repository navigation
ActivityPlugin instance has no attribute activity_cls. Python3 compatibility #226
In ActivityPlugin we have after_build_model method, which set activity_cls attribute to some value. If in project, we haven't any model with __versioned__ attribute, method doesn't fired, and activity_cls isn't set. In Python2 it wasn't problem, because reference to attribute which doesn't exist returned None. In Python3, when attribute doesn't set we have AttributeError. So, we need to check, if class has attribute activity_cls in method is_session_modified before we check a condition.
Activity
Issue sqlalchemy-continuum#226
yetem commentedon Aug 7, 2019
#227
Merge pull request #227 from yetem/patch-1