Skip to content

Commit 7ac118c

Browse files
committed
use typing.Any instead of builtin any for typing
1 parent 347a94c commit 7ac118c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/mcp/server/auth/provider.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
from dataclasses import dataclass
2-
from typing import Generic, Literal, Protocol, TypeVar
2+
from typing import Generic, Literal, Protocol, TypeVar, Any
33
from urllib.parse import parse_qs, urlencode, urlparse, urlunparse
44

55
from pydantic import AnyUrl, BaseModel
@@ -40,7 +40,7 @@ class AccessToken(BaseModel):
4040
scopes: list[str]
4141
expires_at: int | None = None
4242
resource: str | None = None # RFC 8707 resource indicator
43-
claims: dict[str, any] | None = None # Additional token claims
43+
claims: dict[str, Any] | None = None # Additional token claims
4444

4545

4646
RegistrationErrorCode = Literal[

0 commit comments

Comments
 (0)