MonkeyCanCode commented on code in PR #83:
URL: https://github.com/apache/polaris-tools/pull/83#discussion_r2587063274


##########
mcp-server/polaris_mcp/tools/catalog.py:
##########
@@ -106,6 +106,10 @@ def call(self, arguments: Any) -> ToolExecutionResult:
         copy_if_object(arguments.get("query"), delegate_args, "query")
         copy_if_object(arguments.get("headers"), delegate_args, "headers")
 
+        realm = arguments.get("realm")
+        if isinstance(realm, str) and realm.strip():
+            delegate_args["realm"] = realm

Review Comment:
   Got it. Yes, the latest PR ensure of realm specific auth is provided but 
failed, it will not fail back to the default one. 



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to