MCPcopy Create free account
hub / github.com/apify/crawlee-python / __hash__

Method __hash__

src/crawlee/_utils/byte_size.py:76–78  ·  view source on GitHub ↗

Return hash based on the bytes value.

(self)

Source from the content-addressed store, hash-verified

74 return NotImplemented
75
76 def __hash__(self) -> int:
77 """Return hash based on the bytes value."""
78 return hash(self.bytes)
79
80 def __lt__(self, other: object) -> bool:
81 if isinstance(other, ByteSize):

Callers

nothing calls this directly

Calls 1

hashFunction · 0.85

Tested by

no test coverage detected