MCPcopy
hub / github.com/OpenPipe/OpenPipe / report

Method report

client-libs/python/openpipe/client.py:150–169  ·  view source on GitHub ↗
(
        self,
        *,
        requested_at: typing.Optional[float] = OMIT,
        received_at: typing.Optional[float] = OMIT,
        req_payload: typing.Optional[typing.Any] = OMIT,
        resp_payload: typing.Optional[typing.Any] = OMIT,
        status_code: typing.Optional[float] = OMIT,
        error_message: typing.Optional[str] = OMIT,
        tags: typing.Optional[typing.Dict[str, ReportRequestTagsValue]] = {},
    )

Source from the content-addressed store, hash-verified

148 self.base_client._client_wrapper._base_url = value
149
150 async def report(
151 self,
152 *,
153 requested_at: typing.Optional[float] = OMIT,
154 received_at: typing.Optional[float] = OMIT,
155 req_payload: typing.Optional[typing.Any] = OMIT,
156 resp_payload: typing.Optional[typing.Any] = OMIT,
157 status_code: typing.Optional[float] = OMIT,
158 error_message: typing.Optional[str] = OMIT,
159 tags: typing.Optional[typing.Dict[str, ReportRequestTagsValue]] = {},
160 ) -> ReportResponse:
161 return await self.base_client.report(
162 requested_at=requested_at,
163 received_at=received_at,
164 req_payload=req_payload,
165 resp_payload=resp_payload,
166 status_code=status_code,
167 error_message=error_message,
168 tags=add_sdk_info(tags),
169 )
170
171 async def update_log_tags(
172 self,

Callers

nothing calls this directly

Calls 2

add_sdk_infoFunction · 0.85
reportMethod · 0.45

Tested by

no test coverage detected