1
0
Эх сурвалжийг харах

Fix mypy error with opentracing.tags. (#11622)

Patrick Cloke 2 жил өмнө
parent
commit
66d7aa783a

+ 1 - 0
changelog.d/11622.misc

@@ -0,0 +1 @@
+Add opentracing type stubs and fix associated mypy errors.

+ 1 - 0
synapse/logging/opentracing.py

@@ -220,6 +220,7 @@ class _DummyTagNames:
 
 try:
     import opentracing
+    import opentracing.tags
 
     tags = opentracing.tags
 except ImportError: