13 lines
519 B
Python
13 lines
519 B
Python
|
|
"""For tracing (logging) and reporting the timing of Guard and Validator calls.
|
||
|
|
|
||
|
|
sqlite_trace_handler defines most of the actual implementation methods.
|
||
|
|
trace_handler provides the singleton that's used for fast global access
|
||
|
|
across threads. tracer_mixin defines the interface and can act as a
|
||
|
|
noop. trace_entry is just a helpful dataclass.
|
||
|
|
"""
|
||
|
|
|
||
|
|
from guardrails.call_tracing.trace_entry import GuardTraceEntry
|
||
|
|
from guardrails.call_tracing.trace_handler import TraceHandler
|
||
|
|
|
||
|
|
__all__ = ["GuardTraceEntry", "TraceHandler"]
|