MCPcopy Create free account
hub / github.com/MaterializeInc/materialize / delete

Method delete

misc/python/materialize/redpanda_cloud.py:112–118  ·  view source on GitHub ↗
(self, object: str, id: str)

Source from the content-addressed store, hash-verified

110 )
111
112 def delete(self, object: str, id: str) -> dict[str, Any]:
113 return get_result(
114 requests.delete(
115 f"{self.controlplane_api_url}/v1beta2/{object}/{id}",
116 headers=self.headers(),
117 )
118 )
119
120 def get_cluster(self, cluster_info: dict[str, Any]) -> RedpandaCluster:
121 return RedpandaCluster(self.token, cluster_info["dataplane_api"]["url"])

Callers

nothing calls this directly

Calls 2

headersMethod · 0.95
get_resultFunction · 0.85

Tested by

no test coverage detected