Skip to content

Commit 2b82190

Browse files
authored
models: add type annotation (#1060)
1 parent 2015f1a commit 2b82190

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sigstore/models.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@ def _to_dict_rekor(self) -> dict[str, Any]:
249249
)
250250

251251
# Fill in the appropriate kind
252-
body_entry = TypeAdapter(ProposedEntry).validate_json(
252+
body_entry: ProposedEntry = TypeAdapter(ProposedEntry).validate_json(
253253
tlog_entry.canonicalized_body
254254
)
255255
if not isinstance(body_entry, (Hashedrekord, Dsse)):

0 commit comments

Comments
 (0)