Skip to content

Commit 4ba8da0

Browse files
committed
updated bytes_repr doc string
1 parent 6128951 commit 4ba8da0

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

pydra/utils/hash.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,11 @@ def bytes_repr(obj: object, cache: Cache) -> Iterator[bytes]:
117117
cache : Cache
118118
a dictionary object used to store a cache of previously cached objects to
119119
handle circular object references
120+
121+
Yields
122+
-------
123+
bytes
124+
unique representation of the object in a series of bytes
120125
"""
121126
cls = obj.__class__
122127
yield f"{cls.__module__}.{cls.__name__}:{{".encode()

0 commit comments

Comments
 (0)