Explore the intricacies of dynamically generated methods with non-generic signatures in this 30-minute conference talk from EuroPython 2023. Delve into the innovative approach used by scikit-learn, combining Descriptors, PEP-362 (function signature object), and PEP-487 (simpler customization of class creation via `__init_subclass__`). Understand the use-case, challenges, and solutions for attaching generated methods and attributes to all classes in a library. Gain insights into advanced Python techniques that can enhance your library development skills and expand your understanding of dynamic method generation.
Overview
Syllabus
Dynamically generated methods with a non-generic signature — Adrin Jalali
Taught by
EuroPython Conference