Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Dynamically Generated Methods with a Non-Generic Signature

EuroPython Conference via YouTube

Overview

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.

Syllabus

Dynamically generated methods with a non-generic signature — Adrin Jalali

Taught by

EuroPython Conference

Reviews

Start your review of Dynamically Generated Methods with a Non-Generic Signature

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.