From 8d646bf24b41e8c70fe64431ae03cdd3977ef50f Mon Sep 17 00:00:00 2001 From: Facundo Tuesca Date: Tue, 7 May 2024 18:29:22 +0200 Subject: [PATCH] Fix type error --- src/pypi_attestation_models/_impl.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pypi_attestation_models/_impl.py b/src/pypi_attestation_models/_impl.py index 90802db..f51793b 100644 --- a/src/pypi_attestation_models/_impl.py +++ b/src/pypi_attestation_models/_impl.py @@ -128,7 +128,7 @@ def sigstore_to_pypi(sigstore_bundle: Bundle) -> Attestation: version=1, verification_material=VerificationMaterial( certificate=b64encode(certificate).decode("ascii"), - transparency_entries=[sigstore_bundle.log_entry._to_dict_rekor()], # noqa: SLF001 + transparency_entries=[TransparencyLogEntry(sigstore_bundle.log_entry._to_dict_rekor())], # noqa: SLF001 ), message_signature=b64encode(signature).decode("ascii"), )