Skip to content

Commit

Permalink
Update type annotation
Browse files Browse the repository at this point in the history
  • Loading branch information
Ihor Lahutin committed Feb 14, 2025
1 parent 55654d8 commit 09f8dcb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion aidial_sdk/telemetry/init.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import logging
from typing import Optional

from fastapi import FastAPI
from opentelemetry._logs import set_logger_provider
Expand Down Expand Up @@ -33,7 +34,7 @@


def init_telemetry(
app: FastAPI | None,
app: Optional[FastAPI],
config: TelemetryConfig,
):
resource = Resource.create(
Expand Down

0 comments on commit 09f8dcb

Please sign in to comment.