Commit 7fe7f32
docs(identity): fix sign_ucp_profile docstring example constructor
The example used `UCPSigningKey(**key.public_jwk)`, which raises
TypeError because UCPSigningKey only accepts kid/kty/alg/use/crv/extras
(the JWK `x`/`y` fields belong in extras). Switch to the
`UCPSigningKey.from_jwk(...)` classmethod, matching the runnable
example in examples/signed_ucp_merchant.py.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 3013392 commit 7fe7f32
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
260 | 260 | | |
261 | 261 | | |
262 | 262 | | |
263 | | - | |
| 263 | + | |
264 | 264 | | |
265 | 265 | | |
266 | 266 | | |
| |||
0 commit comments