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.
Many classes use **kwargs and only define in the constructor the parameters they use, passing the rest to the super().
This makes for uncomfortable reading of the documentation and understanding of the parameters that need to be supplied to constructor.
Describe the solution you'd like
Even though it might tedious, we should copy the parameters from super classes into classes and eliminate the **kwargs.
Describe alternatives you've considered
Using the **kwargs makes for shorted code, but less clear and passing misspelled arguments (ex. from YAML) goes unnoticed while the function they are supposed to provide is defaulted.
Additional context
Check for instance the Joint, JointPV, JointPVL.
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
Many classes use **kwargs and only define in the constructor the parameters they use, passing the rest to the super().
This makes for uncomfortable reading of the documentation and understanding of the parameters that need to be supplied to constructor.
Describe the solution you'd like
Even though it might tedious, we should copy the parameters from super classes into classes and eliminate the **kwargs.
Describe alternatives you've considered
Using the **kwargs makes for shorted code, but less clear and passing misspelled arguments (ex. from YAML) goes unnoticed while the function they are supposed to provide is defaulted.
Additional context
Check for instance the Joint, JointPV, JointPVL.
The text was updated successfully, but these errors were encountered: