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

Function report

client-libs/python/openpipe/shared.py:64–80  ·  view source on GitHub ↗
(
    configured_client: OpenPipe,
    openpipe_options={},
    **kwargs,
)

Source from the content-addressed store, hash-verified

62
63
64def report(
65 configured_client: OpenPipe,
66 openpipe_options={},
67 **kwargs,
68):
69 if not _should_log_request(configured_client, openpipe_options):
70 return
71
72 try:
73 configured_client.report(
74 **kwargs,
75 tags=_get_tags(openpipe_options),
76 )
77 except Exception as e:
78 # We don't want to break client apps if our API is down for some reason
79 print(f"Error reporting to OpenPipe: {e}")
80 print(e)
81
82
83async def report_async(

Callers 2

_genMethod · 0.85
createMethod · 0.85

Calls 3

_should_log_requestFunction · 0.85
_get_tagsFunction · 0.85
reportMethod · 0.45

Tested by

no test coverage detected