We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 947bd39 commit 183549bCopy full SHA for 183549b
packages/python/iii/src/iii/iii.py
@@ -91,7 +91,7 @@ class InitOptions:
91
enable_metrics_reporting: bool = True
92
invocation_timeout_ms: int = DEFAULT_INVOCATION_TIMEOUT_MS
93
reconnection_config: ReconnectionConfig | None = None
94
- otel: dict[str, Any] | None = None
+ otel: OtelConfig | dict[str, Any] | None = None
95
telemetry: TelemetryOptions | None = None
96
97
@@ -128,7 +128,7 @@ async def connect(self) -> None:
128
try:
129
from .telemetry import attach_event_loop, init_otel
130
loop = asyncio.get_running_loop()
131
- otel_cfg = None
+ otel_cfg: OtelConfig | None = None
132
if self._options.otel:
133
if isinstance(self._options.otel, OtelConfig):
134
otel_cfg = self._options.otel
0 commit comments