(self, object: str, content: dict[str, Any] | None)
| 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( |
nothing calls this directly
no test coverage detected