MCPcopy Create free account
hub / github.com/AgentOps-AI/agentops / put

Method put

agentops/client/api/base.py:135–147  ·  view source on GitHub ↗

Make async PUT request Args: path: API endpoint path data: Request payload headers: Request headers Returns: JSON response as dictionary, or None if request failed

(self, path: str, data: Dict[str, Any], headers: Dict[str, str])

Source from the content-addressed store, hash-verified

133 return await self.async_request("get", path, headers=headers)
134
135 async def put(self, path: str, data: Dict[str, Any], headers: Dict[str, str]) -> Optional[Dict[str, Any]]:
136 """
137 Make async PUT request
138
139 Args:
140 path: API endpoint path
141 data: Request payload
142 headers: Request headers
143
144 Returns:
145 JSON response as dictionary, or None if request failed
146 """
147 return await self.async_request("put", path, data=data, headers=headers)
148
149 async def delete(self, path: str, headers: Dict[str, str]) -> Optional[Dict[str, Any]]:
150 """

Callers 7

watch_deploymentMethod · 0.80
watch_podsMethod · 0.80
watch_jobMethod · 0.80
watch_podsMethod · 0.80
setIdbSessionsFunction · 0.80
upsertMethod · 0.80

Calls 1

async_requestMethod · 0.95

Tested by 1