diqiu50 opened a new issue, #10035:
URL: https://github.com/apache/gravitino/issues/10035

   ### Version
   
   main branch
   
   ### Describe what's wrong
   
   Failed to build tests in the mcp-server module due to an issue with the 
FastMCP.tool() function.
   
   ### Error message and/or stacktrace
   
   ----------------------------------------------------------------------
   Traceback (most recent call last):
     File 
"/home/runner/work/gravitino/gravitino/mcp-server/tests/unit/tools/test_catalog.py",
 line 36, in setUp
       server = GravitinoMCPServer(Setting("mock_metalake"))
     File 
"/home/runner/work/gravitino/gravitino/mcp-server/mcp_server/server.py", line 
99, in __init__
       load_tools(self.mcp)
     File 
"/home/runner/work/gravitino/gravitino/mcp-server/mcp_server/tools/__init__.py",
 line 41, in load_tools
       load_tag_tool(mcp)
     File 
"/home/runner/work/gravitino/gravitino/mcp-server/mcp_server/tools/tag.py", 
line 22, in load_tag_tool
       @mcp.tool(tags={"tag"}, enabled=False)
   TypeError: FastMCP.tool() got an unexpected keyword argument 'enabled'
   
   ### How to reproduce
   
   Rebuild the  `mcp-server` test
   
   ### Additional context
   
   _No response_


-- 
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