Skip to content

Commit ae57aa1

Browse files
committed
Remove dead commented-out code in register_client
Two commented-out lines after a `return` statement are unreachable and appear to be leftover from a refactor.
1 parent 3d7b311 commit ae57aa1

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

src/mcp/client/auth/utils.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -240,8 +240,6 @@ async def handle_registration_response(response: Response) -> OAuthClientInforma
240240
content = await response.aread()
241241
client_info = OAuthClientInformationFull.model_validate_json(content)
242242
return client_info
243-
# self.context.client_info = client_info
244-
# await self.context.storage.set_client_info(client_info)
245243
except ValidationError as e: # pragma: no cover
246244
raise OAuthRegistrationError(f"Invalid registration response: {e}")
247245

0 commit comments

Comments
 (0)