vendredi 20 mars 2020

Is there a way to collect classes on some attributes of class?

I have a module which contains several methods and classes. Is there any way to collect these classes into a list on the basis of some attributes that can be inspected(a parameter or return value). Currently I'm thinking to wrap these into a decorator. Is there any other way?





Aucun commentaire:

Enregistrer un commentaire