GitHub

ClientOptions

API reference for ClientOptions.

How a client calls: spans named after the tag, or <span_prefix>.<tag> (none with disable_tracing); supports_ack sends an Ack after each chunk taken.

Attributes

AttributeTypeDescription
span_prefixstr | None = None
span_attributesMapping[str, object] = field(default_factory=(dict[str, object]))
disable_tracingbool = False
supports_ackbool = True
generate_request_idCallable[[], RequestId] | None = None

Functions

__init__

__init__(span_prefix=None, span_attributes=dict[str, object](), disable_tracing=False, supports_ack=True, generate_request_id=None) -> None
ParameterTypeDescription
span_prefixstr | None = None
span_attributesMapping[str, object] = dict[str, object]()
disable_tracingbool = False
supports_ackbool = True
generate_request_idCallable[[], RequestId] | None = None