mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-24 00:52:24 +00:00
fix(otel v2): type the operator sink scope pairs so the widest scope reduction stays Literal
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
This commit is contained in:
parent
d264cdf231
commit
75f926da36
1 changed files with 1 additions and 1 deletions
|
|
@ -1150,7 +1150,7 @@ def operator_sink_scopes(*configs: OpenTelemetryV2Config) -> 'Mapping[_SinkKey,
|
|||
and so is one that never reaches the wire: a console kind ignores the endpoint,
|
||||
and a header-gated spec with no credentials is skipped when the provider is built.
|
||||
"""
|
||||
scoped: Final = tuple(
|
||||
scoped: Final[tuple[tuple[_SinkKey, OtelSpanScope], ...]] = tuple(
|
||||
(key, _operator_scope(config, spec))
|
||||
for config in configs
|
||||
for spec in config.exporters
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue