Skip to content

Commit c03092f

Browse files
authored
models: Stop using pydantic aliases in constructor to avoid mypy bug (#536)
Signed-off-by: Alex Cameron <[email protected]>
1 parent 0ed9850 commit c03092f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

sigstore/verify/models.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -241,9 +241,9 @@ def from_bundle(
241241
tlog_entry = tlog_entries[0]
242242

243243
inclusion_proof = LogInclusionProof(
244-
logIndex=tlog_entry.inclusion_proof.log_index,
245-
rootHash=tlog_entry.inclusion_proof.root_hash.hex(),
246-
treeSize=tlog_entry.inclusion_proof.tree_size,
244+
log_index=tlog_entry.inclusion_proof.log_index,
245+
root_hash=tlog_entry.inclusion_proof.root_hash.hex(),
246+
tree_size=tlog_entry.inclusion_proof.tree_size,
247247
hashes=[h.hex() for h in tlog_entry.inclusion_proof.hashes],
248248
)
249249
entry = LogEntry(

0 commit comments

Comments
 (0)