Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Add plugin hook for dynamic class definition #5875
The new hook allows this:
from some_lib import dynamic_base Base = dynamic_base() class C(Base): # No error, the plugin acts and replaces 'Base' with a TypeInfo ...
This plugin hook is useful for SQLAlchemy ORM, for user-defined constructs similar to
Here are some comments: