Return a string representation for this object.
(self)
| 1440 | |
| 1441 | @final |
| 1442 | def __repr__(self) -> str_t: |
| 1443 | """ |
| 1444 | Return a string representation for this object. |
| 1445 | """ |
| 1446 | klass_name = type(self).__name__ |
| 1447 | data = self._format_data() |
| 1448 | attrs = self._format_attrs() |
| 1449 | attrs_str = [f"{k}={v}" for k, v in attrs] |
| 1450 | prepr = ", ".join(attrs_str) |
| 1451 | |
| 1452 | return f"{klass_name}({data}{prepr})" |
| 1453 | |
| 1454 | @property |
| 1455 | def _formatter_func(self): |
nothing calls this directly
no test coverage detected