Skip to content

Commit

Permalink
MNT: change the StochasticModel repr method
Browse files Browse the repository at this point in the history
  • Loading branch information
Gui-FernandesBR committed Mar 5, 2024
1 parent 8da4d70 commit a5267ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rocketpy/stochastic/stochastic_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ def __str__(self):
return s.strip()

def __repr__(self):
return self.__str__()
return f"{self.__class__.__name__}(object={self.object}, **kwargs)"

def _validate_tuple(self, input_name, input_value, getattr=getattr):
"""Validator for tuple arguments. Checks if input is in a valid format.
Expand Down

0 comments on commit a5267ae

Please sign in to comment.