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

Method report

client-libs/python/openpipe/client.py:73–92  ·  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

71 self.base_client._client_wrapper._base_url = value
72
73 def report(
74 self,
75 *,
76 requested_at: typing.Optional[float] = OMIT,
77 received_at: typing.Optional[float] = OMIT,
78 req_payload: typing.Optional[typing.Any] = OMIT,
79 resp_payload: typing.Optional[typing.Any] = OMIT,
80 status_code: typing.Optional[float] = OMIT,
81 error_message: typing.Optional[str] = OMIT,
82 tags: typing.Optional[typing.Dict[str, ReportRequestTagsValue]] = {},
83 ) -> ReportResponse:
84 return self.base_client.report(
85 requested_at=requested_at,
86 received_at=received_at,
87 req_payload=req_payload,
88 resp_payload=resp_payload,
89 status_code=status_code,
90 error_message=error_message,
91 tags=add_sdk_info(tags),
92 )
93
94 def update_log_tags(
95 self,

Calls 1

add_sdk_infoFunction · 0.85