mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-04 08:51:02 +07:00
in case this relationship was created implicitly by inheriting an instance of metaclass. It also fixes warnings about the first parameter of SQLAlchemy model methods being named "self" instead of "cls" since we no longer consider these classes descendants of "type".
13 lines
125 B
Python
13 lines
125 B
Python
class MetaBase(type):
|
|
pass
|
|
|
|
|
|
class Meta(MetaBase):
|
|
pass
|
|
|
|
|
|
Base = Meta('Base', (), {})
|
|
|
|
|
|
class MyClass(Base):
|
|
pass |