Skip to content

Commit 183549b

Browse files
committed
fix: mypy
1 parent 947bd39 commit 183549b

File tree

1 file changed

+2
-2
lines changed
  • packages/python/iii/src/iii

1 file changed

+2
-2
lines changed

packages/python/iii/src/iii/iii.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ class InitOptions:
9191
enable_metrics_reporting: bool = True
9292
invocation_timeout_ms: int = DEFAULT_INVOCATION_TIMEOUT_MS
9393
reconnection_config: ReconnectionConfig | None = None
94-
otel: dict[str, Any] | None = None
94+
otel: OtelConfig | dict[str, Any] | None = None
9595
telemetry: TelemetryOptions | None = None
9696

9797

@@ -128,7 +128,7 @@ async def connect(self) -> None:
128128
try:
129129
from .telemetry import attach_event_loop, init_otel
130130
loop = asyncio.get_running_loop()
131-
otel_cfg = None
131+
otel_cfg: OtelConfig | None = None
132132
if self._options.otel:
133133
if isinstance(self._options.otel, OtelConfig):
134134
otel_cfg = self._options.otel

0 commit comments

Comments
 (0)