Metaclasses allow you to hook when classes are created, and this technique is what’s behind magical frameworks like Django and SQLAlchemy where class definitions have side effects that impact databases. In this course you’ll learn about how: - Everything really is an object, including classes themselves.

1m read timeFrom realpython.com
Post cover image

Sort: