Skip to content

Commit 27f38e2

Browse files
committed
Fix type error in FastMCP auth test
1 parent ba3cd1e commit 27f38e2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/server/fastmcp/auth/test_auth_integration.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ async def get_client(self, client_id: str) -> OAuthClientInformationFull | None:
3939
return self.clients.get(client_id)
4040

4141
async def register_client(self, client_info: OAuthClientInformationFull):
42+
assert client_info.client_id is not None
4243
self.clients[client_info.client_id] = client_info
4344

4445
async def authorize(self, client: OAuthClientInformationFull, params: AuthorizationParams) -> str:

0 commit comments

Comments
 (0)