content_hash
content_hash
#
ContentHash — what names an object; CallKey — what names a memoized call.
CallKey = NewType('CallKey', ContentHash)
module-attribute
#
The hash identifying one memoized call: a function identity applied to argument hashes.
ContentHash
dataclass
#
A 32-byte blake3 digest, rendered as 64 lowercase hex characters.
Source code in capturegraph-lib/capturegraph/recipes/scratch/hashing/content_hash.py
hex
property
#
The digest as 64 lowercase hex characters.
__repr__()
#
__str__()
#
from_hex(hex)
classmethod
#
The hash spelled by hex.
Raises:
| Type | Description |
|---|---|
ValueError
|
If |