@@ -71,20 +71,20 @@ async def getInstance(host: str, port: int, sid: Optional[str] = None) -> Dict[s
7171 raise error
7272
7373
74- @mcp .tool (name = "syncInstanceMeta" ,
75- description = "Sync instance meta" , )
76- async def syncInstanceMeta (InstanceId : str , IgnoreTable : bool = False ) -> Dict [str , Any ]:
77- client = create_client ()
78- sync_instance_meta_request = dms_enterprise_20181101_models .SyncInstanceMetaRequest (
79- instance_id = InstanceId )
80- if IgnoreTable :
81- sync_instance_meta_request .ignore_table = IgnoreTable
82- try :
83- data = client .sync_instance_meta (sync_instance_meta_request )
84- return data .body .to_map ()
85- except Exception as error :
86- print (error )
87- raise error
74+ # @mcp.tool(name="syncInstanceMeta",
75+ # description="Sync instance meta", )
76+ # async def syncInstanceMeta(InstanceId: str, IgnoreTable: bool = False) -> Dict[str, Any]:
77+ # client = create_client()
78+ # sync_instance_meta_request = dms_enterprise_20181101_models.SyncInstanceMetaRequest(
79+ # instance_id=InstanceId)
80+ # if IgnoreTable:
81+ # sync_instance_meta_request.ignore_table = IgnoreTable
82+ # try:
83+ # data = client.sync_instance_meta(sync_instance_meta_request)
84+ # return data.body.to_map()
85+ # except Exception as error:
86+ # print(error)
87+ # raise error
8888
8989
9090@mcp .tool (name = "searchDatabase" ,
0 commit comments