Skip to content

Commit 3de2400

Browse files
committed
Deps: lock refresh, and the context manager's Generator annotation
1 parent af5430b commit 3de2400

2 files changed

Lines changed: 70 additions & 69 deletions

File tree

‎agentscore_commerce/identity/ucp_jwks.py‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
from typing import TYPE_CHECKING, Any, Literal, cast
3535

3636
if TYPE_CHECKING:
37-
from collections.abc import Iterator
37+
from collections.abc import Generator
3838

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

5151

5252
@contextlib.contextmanager
53-
def _suppress_joserfc_eddsa_warning() -> Iterator[None]:
53+
def _suppress_joserfc_eddsa_warning() -> Generator[None]:
5454
"""Suppress joserfc's RFC-9864-deprecation SecurityWarning around JWS sign/verify.
5555
5656
joserfc emits this on every JWS operation that uses EdDSA, despite EdDSA

0 commit comments

Comments
 (0)