We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
_Mapper
1 parent c7e6096 commit 4c0c320Copy full SHA for 4c0c320
src/frequenz/channels/_receiver.py
@@ -336,9 +336,9 @@ def consume(self) -> MappedMessageT_co: # noqa: DOC502
336
) # pylint: disable=protected-access
337
338
def __str__(self) -> str:
339
- """Return a string representation of the timer."""
+ """Return a string representation of the mapper."""
340
return f"{type(self).__name__}:{self._receiver}:{self._mapping_function}"
341
342
def __repr__(self) -> str:
343
344
return f"{type(self).__name__}({self._receiver!r}, {self._mapping_function!r})"
0 commit comments