Python metaclasses are how classes are created, and the ability to define your own metaclasses can help you guide and constrain code contributors in a complex codebase.
- Notifications
You must be signed in to change notification settings - Fork 0
Python metaclasses are how classes are created, and by defining your own metaclasses you can guide and constrain code contributors in a complex codebase. This article reviews how metaclasses can be employed to implement static checking of user-defined derived classes.
License
python-supply/static-checking-via-metaclasses
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Python metaclasses are how classes are created, and by defining your own metaclasses you can guide and constrain code contributors in a complex codebase. This article reviews how metaclasses can be employed to implement static checking of user-defined derived classes.