@@ -44,9 +44,7 @@ def __init__(self, http_client: AsyncClient, project_id: str):
4444
4545 # --- Entity CRUD Operations ---
4646
47- async def create_entity (
48- self , entity_data : dict [str , Any ], * , fast : bool | None = None
49- ) -> EntityResponse :
47+ async def create_entity (self , entity_data : dict [str , Any ]) -> EntityResponse :
5048 """Create a new entity.
5149
5250 Args:
@@ -58,18 +56,15 @@ async def create_entity(
5856 Raises:
5957 ToolError: If the request fails
6058 """
61- params = {"fast" : fast } if fast is not None else None
6259 with telemetry .scope (
6360 "mcp.client.knowledge.create_entity" ,
6461 client_name = "knowledge" ,
6562 operation = "create_entity" ,
66- fast = fast ,
6763 ):
6864 response = await call_post (
6965 self .http_client ,
7066 f"{ self ._base_path } /entities" ,
7167 json = entity_data ,
72- params = params ,
7368 client_name = "knowledge" ,
7469 operation = "create_entity" ,
7570 path_template = "/v2/projects/{project_id}/knowledge/entities" ,
@@ -80,8 +75,6 @@ async def update_entity(
8075 self ,
8176 entity_id : str ,
8277 entity_data : dict [str , Any ],
83- * ,
84- fast : bool | None = None ,
8578 ) -> EntityResponse :
8679 """Update an existing entity (full replacement).
8780
@@ -95,18 +88,15 @@ async def update_entity(
9588 Raises:
9689 ToolError: If the request fails
9790 """
98- params = {"fast" : fast } if fast is not None else None
9991 with telemetry .scope (
10092 "mcp.client.knowledge.update_entity" ,
10193 client_name = "knowledge" ,
10294 operation = "update_entity" ,
103- fast = fast ,
10495 ):
10596 response = await call_put (
10697 self .http_client ,
10798 f"{ self ._base_path } /entities/{ entity_id } " ,
10899 json = entity_data ,
109- params = params ,
110100 client_name = "knowledge" ,
111101 operation = "update_entity" ,
112102 path_template = "/v2/projects/{project_id}/knowledge/entities/{entity_id}" ,
@@ -143,8 +133,6 @@ async def patch_entity(
143133 self ,
144134 entity_id : str ,
145135 patch_data : dict [str , Any ],
146- * ,
147- fast : bool | None = None ,
148136 ) -> EntityResponse :
149137 """Partially update an entity.
150138
@@ -158,18 +146,15 @@ async def patch_entity(
158146 Raises:
159147 ToolError: If the request fails
160148 """
161- params = {"fast" : fast } if fast is not None else None
162149 with telemetry .scope (
163150 "mcp.client.knowledge.patch_entity" ,
164151 client_name = "knowledge" ,
165152 operation = "patch_entity" ,
166- fast = fast ,
167153 ):
168154 response = await call_patch (
169155 self .http_client ,
170156 f"{ self ._base_path } /entities/{ entity_id } " ,
171157 json = patch_data ,
172- params = params ,
173158 client_name = "knowledge" ,
174159 operation = "patch_entity" ,
175160 path_template = "/v2/projects/{project_id}/knowledge/entities/{entity_id}" ,
0 commit comments