MCPcopy Create free account
hub / github.com/PaddlePaddle/PaddleOCR / _api_headers

Method _api_headers

paddleocr/_api_client/_async_http.py:74–78  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

72 self._session = None
73
74 def _api_headers(self) -> dict:
75 headers = {"Authorization": f"Bearer {self._token}"}
76 if self._client_platform:
77 headers["Client-Platform"] = self._client_platform
78 return headers
79
80 async def submit_url(
81 self,

Callers 1

_ensure_sessionMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected