Describes a class that can be summarised by using the `self.summary` method.
The summarised information is provided by the `self.__get_summary_state__` method.
Definition at line 436 of file base.py.
| str qdpy.base.Summarisable.summary |
( |
| self, |
|
|
Optional[int] | max_depth = None, |
|
|
Optional[int] | max_entry_length = 250 ) |
Return a summary description of the class.
The summarised information is provided by the `self.__get_summary_state__` method.
Parameters
----------
:param max_depth: Optional[int]
The maximal recursion depth allowed. Used to summarise attributes of `self` that are also Summarisable.
If the maximal recursion depth is reached, the attribute is only described with a reduced representation (`repr(attribute)`).
If `max_depth` is set to None, there are no recursion limit.
:param max_entry_length: Optional[int]
If `max_entry_length` is not None, the description of a non-Summarisable entry exceeding `max_entry_length`
is cropped to this limit.
Definition at line 455 of file base.py.