def METHOD_NAME(attestation_bytes: bytes, private_key: str):
    k = keys.PrivateKey(HexBytes(private_key))
    to_sign_hash = Web3.keccak(attestation_bytes)
    sig = k.sign_msg_hash(to_sign_hash)
    return sig.to_hex()