Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions agentscore_commerce/identity/ucp_jwks.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
from typing import TYPE_CHECKING, Any, Literal, cast

if TYPE_CHECKING:
from collections.abc import Iterator
from collections.abc import Generator

_JOSE_INSTALL_HINT = (
"Install the optional dependency: `pip install agentscore-commerce[ucp]` (or `uv pip install joserfc`)."
Expand All @@ -50,7 +50,7 @@


@contextlib.contextmanager
def _suppress_joserfc_eddsa_warning() -> Iterator[None]:
def _suppress_joserfc_eddsa_warning() -> Generator[None]:
"""Suppress joserfc's RFC-9864-deprecation SecurityWarning around JWS sign/verify.

joserfc emits this on every JWS operation that uses EdDSA, despite EdDSA
Expand Down
Loading
Loading