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
If you want a subclass of Table to have a metaclass such as ABCMeta, you need to subclass both DeclarativeColumnsMetaclass and the other class. Because DeclarativeColumnsMetaclass just calls type.new rather than super(DeclarativeColumnsMetaclass, cls).new, you have to be more careful about the order you subclass things that you should have to be.
Luckily the fix is trivial :-)
The text was updated successfully, but these errors were encountered:
If you want a subclass of Table to have a metaclass such as ABCMeta, you need to subclass both DeclarativeColumnsMetaclass and the other class. Because DeclarativeColumnsMetaclass just calls type.new rather than super(DeclarativeColumnsMetaclass, cls).new, you have to be more careful about the order you subclass things that you should have to be.
Luckily the fix is trivial :-)
The text was updated successfully, but these errors were encountered: