Skip to main content

CheckpointContentsDigest

CheckpointContentsDigest Objects

class CheckpointContentsDigest(CheckpointContentsDigestProtocol)

The digest of a CheckpointContents.

next_lexicographical

def next_lexicographical() -> CheckpointContentsDigest

Returns the next digest in byte-increasing order.

next_lexicographical_opt

def next_lexicographical_opt() -> typing.Optional[CheckpointContentsDigest]

Returns the next digest in byte-increasing order, or None if the result would overflow.