python-supply / static-checking-via-metaclasses Goto Github PK
View Code? Open in Web Editor NEWPython 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.
Home Page: https://lapets.medium.com/static-checking-via-metaclasses-cec368765b58
License: MIT License