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
fromabcimportABC, ABCMetafromtypingimportProtocola: ABCMetaa=Protocol# erm, error: "type[type]" is not assignable to "type[ABCMeta]"a=ABC
mypy in real life
classInterface(Protocol):
deff(self):
print("hi")
classData(Interface, Enum): # runtime error: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its basesa=1
The text was updated successfully, but these errors were encountered:
mypy in real life
The text was updated successfully, but these errors were encountered: