From 107ac717f733ea61a15969eb0a8f738e0a9b7d50 Mon Sep 17 00:00:00 2001 From: William Woodruff Date: Wed, 12 Jul 2023 14:11:33 -0400 Subject: [PATCH] transparency: use `Optional[...]` Signed-off-by: William Woodruff --- sigstore/transparency.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sigstore/transparency.py b/sigstore/transparency.py index d2cb711a..f5fb0c62 100644 --- a/sigstore/transparency.py +++ b/sigstore/transparency.py @@ -70,12 +70,12 @@ class LogEntry: The index of this entry within the log. """ - inclusion_proof: LogInclusionProof | None + inclusion_proof: Optional[LogInclusionProof] """ An inclusion proof for this log entry, if present. """ - inclusion_promise: B64Str | None + inclusion_promise: Optional[B64Str] """ An inclusion promise for this log entry, if present.