MCPcopy Create free account
hub / github.com/VAST-AI-Research/tripo-python-sdk / _v3_request

Method _v3_request

tripo3d/client.py:104–111  ·  view source on GitHub ↗

apiv3 dedicated channel (segment v2 only).

(
        self,
        method: str,
        path: str,
        json_data: Optional[Dict[str, Any]] = None,
    )

Source from the content-addressed store, hash-verified

102 raise
103
104 async def _v3_request(
105 self,
106 method: str,
107 path: str,
108 json_data: Optional[Dict[str, Any]] = None,
109 ) -> Dict[str, Any]:
110 """apiv3 dedicated channel (segment v2 only)."""
111 return await self._v3_impl._request(method, path, json_data=json_data)
112
113 async def _v3_upload_file(self, file_path: str) -> str:
114 """Upload via apiv3 POST /v3/files and return file_<uuid> token."""

Callers 2

_v3_get_taskMethod · 0.95
mesh_segmentationMethod · 0.95

Calls 1

_requestMethod · 0.45

Tested by

no test coverage detected