MCPcopy
hub / github.com/OpenPipe/OpenPipe / _should_log_request

Function _should_log_request

client-libs/python/openpipe/shared.py:55–61  ·  view source on GitHub ↗
(
    configured_client: Union[OpenPipe, AsyncOpenPipe], openpipe_options={}
)

Source from the content-addressed store, hash-verified

53
54
55def _should_log_request(
56 configured_client: Union[OpenPipe, AsyncOpenPipe], openpipe_options={}
57):
58 if configured_client.api_key == "":
59 return False
60
61 return openpipe_options.get("log_request", True)
62
63
64def report(

Callers 2

reportFunction · 0.85
report_asyncFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected