Skip to content

Commit a9788e9

Browse files
authored
Fix incorrect example in the README (#91)
1 parent 86cc7de commit a9788e9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,8 @@ print(attestation.model_dump_json())
5252
attestation_path = Path("test_package-0.0.1-py3-none-any.whl.attestation")
5353
attestation = Attestation.model_validate_json(attestation_path.read_bytes())
5454
verifier = Verifier.production()
55-
policy = policy.Identity(identity="example@gmail.com", issuer="https://accounts.google.com")
56-
attestation.verify(verifier, policy, dist)
55+
identity = policy.Identity(identity="example@gmail.com", issuer="https://accounts.google.com")
56+
attestation.verify(identity=identity, dist=dist)
5757
```
5858

5959
### Low-level model conversions

0 commit comments

Comments
 (0)