In this video you learn how to take a typed serializer and make it generic with the help of Type Parameter Syntax, available from Python Version 3.12.
C H A P T E R S
0:30 Why the serializer class is coupled to a concrete type
0:47 PEP 695: Type Parameter Syntax
1:00 Make the serializer class Generic
1:40 Instantiating a generic class in Python
2:10 Get type information at runtime
M Y O N L I N E T R A I N I N G
Want to learn more Design Principles? Enroll in my SOLID course: