Skip to content

Commit fb2e2e3

Browse files
author
Andrei Neagu
committed
mypy
1 parent 72cf61c commit fb2e2e3

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

packages/service-library/src/servicelib/aiohttp/tracing.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,7 @@
3131
except ImportError:
3232
HAS_BOTOCORE = False
3333
try:
34-
from opentelemetry.instrumentation.aiopg import ( # type: ignore[import-not-found]
35-
AiopgInstrumentor,
36-
)
34+
from opentelemetry.instrumentation.aiopg import AiopgInstrumentor
3735

3836
HAS_AIOPG = True
3937
except ImportError:

packages/service-library/src/servicelib/fastapi/tracing.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,7 @@
2828
HAS_ASYNCPG = False
2929

3030
try:
31-
from opentelemetry.instrumentation.aiopg import ( # type: ignore[import-not-found]
32-
AiopgInstrumentor,
33-
)
31+
from opentelemetry.instrumentation.aiopg import AiopgInstrumentor
3432

3533
HAS_AIOPG = True
3634
except ImportError:

0 commit comments

Comments
 (0)