You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
Currently, griffe checks Class.members, when fetching Class.parameters. When the __init__ is inherited from the parent class, this means that an empty set of parameters gets returned.
Describe the solution you'd like
WDYT of checking in Class.inherited_members as well, in order to get parameters for classes that don't override __init__?
The text was updated successfully, but these errors were encountered:
Yep, good idea! We can check both at once using Class.all_members 🙂 Feel free to send a PR, otherwise I'll get to it soon (it's an easy change, shouldn't take long).
Is your feature request related to a problem? Please describe.
Currently, griffe checks Class.members, when fetching Class.parameters. When the
__init__
is inherited from the parent class, this means that an empty set of parameters gets returned.Describe the solution you'd like
WDYT of checking in
Class.inherited_members
as well, in order to get parameters for classes that don't override__init__
?The text was updated successfully, but these errors were encountered: