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

Method create

misc/python/materialize/redpanda_cloud.py:86–93  ·  view source on GitHub ↗
(self, object: str, content: dict[str, Any] | None)

Source from the content-addressed store, hash-verified

84 raise ValueError(result)
85
86 def create(self, object: str, content: dict[str, Any] | None) -> dict[str, Any]:
87 return get_result(
88 requests.post(
89 f"{self.controlplane_api_url}/v1beta2/{object}",
90 json=content,
91 headers=self.headers(),
92 )
93 )
94
95 def patch(self, object: str, content: dict[str, Any] | None) -> dict[str, Any]:
96 return get_result(

Callers

nothing calls this directly

Calls 2

headersMethod · 0.95
get_resultFunction · 0.85

Tested by

no test coverage detected