Skip to content

Commit ee3e33e

Browse files
committed
typecheck fixes
1 parent 708c4f9 commit ee3e33e

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
@@ -32,9 +32,7 @@
3232
except ImportError:
3333
HAS_BOTOCORE = False
3434
try:
35-
from opentelemetry.instrumentation.aiopg import (
36-
AiopgInstrumentor, # type: ignore[import-not-found]
37-
)
35+
from opentelemetry.instrumentation.aiopg import AiopgInstrumentor
3836

3937
HAS_AIOPG = True
4038
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 (
32-
AiopgInstrumentor, # type: ignore[import-not-found]
33-
)
31+
from opentelemetry.instrumentation.aiopg import AiopgInstrumentor
3432

3533
HAS_AIOPG = True
3634
except ImportError:

0 commit comments

Comments
 (0)