def __repr__(self) -> str:
    mb = self.base.name
    v = self.version
    mc = self.codec.name
    d = self.digest
    return f'CID({repr(mb)}, {v}, {repr(mc)}, {repr(d.hex())})'
def __repr__(self) -> str:
    mb = self.base.name
    v = self.version
    mc = self.codec.name
    d = self.digest
    return f'CID({repr(mb)}, {v}, {repr(mc)}, {repr(d.hex())})'