Skip to content

Commit fca6281

Browse files
Kludexfelixweinberger
authored andcommitted
Apply pre-commit
1 parent 77e7871 commit fca6281

File tree

1 file changed

+6
-2
lines changed
  • examples/clients/simple-auth-client/mcp_simple_auth_client

1 file changed

+6
-2
lines changed

examples/clients/simple-auth-client/mcp_simple_auth_client/main.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,9 @@ async def _default_redirect_handler(authorization_url: str) -> None:
188188
# Create OAuth authentication handler using the new interface
189189
oauth_auth = OAuthClientProvider(
190190
server_url=self.server_url.replace("/mcp", ""),
191-
client_metadata=OAuthClientMetadata.model_validate(client_metadata_dict),
191+
client_metadata=OAuthClientMetadata.model_validate(
192+
client_metadata_dict
193+
),
192194
storage=InMemoryTokenStorage(),
193195
redirect_handler=_default_redirect_handler,
194196
callback_handler=callback_handler,
@@ -320,7 +322,9 @@ async def interactive_loop(self):
320322
await self.call_tool(tool_name, arguments)
321323

322324
else:
323-
print("❌ Unknown command. Try 'list', 'call <tool_name>', or 'quit'")
325+
print(
326+
"❌ Unknown command. Try 'list', 'call <tool_name>', or 'quit'"
327+
)
324328

325329
except KeyboardInterrupt:
326330
print("\n\n👋 Goodbye!")

0 commit comments

Comments
 (0)