Skip to content
This repository was archived by the owner on Apr 26, 2024. It is now read-only.

Commit 66d7aa7

Browse files
authored
Fix mypy error with opentracing.tags. (#11622)
1 parent c500bf3 commit 66d7aa7

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

changelog.d/11622.misc

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Add opentracing type stubs and fix associated mypy errors.

synapse/logging/opentracing.py

+1
Original file line numberDiff line numberDiff line change
@@ -220,6 +220,7 @@ class _DummyTagNames:
220220

221221
try:
222222
import opentracing
223+
import opentracing.tags
223224

224225
tags = opentracing.tags
225226
except ImportError:

0 commit comments

Comments
 (0)