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

Описание к видео Dynamically generated methods with a non-generic signature — Adrin Jalali

[EuroPython 2023 — Forum Hall on 2023-07-19]
https://ep2023.europython.eu/session/...

In other words, Descriptors + PEP-362 (function signature object) and a seasoning of PEP-487 (simpler customization of class creation via `__init_subclass__`).

There are different ways to have generated methods and attributes attached to all classes in a library, and this talk presents the way we’re doing it in scikit-learn. Here you’ll understand the use-case, and see the details and challenges presented by it, and how we approached them.

This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License http://creativecommons.org/licenses/b...

Комментарии

Информация по комментариям в разработке