mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2024-10-01 11:49:51 -04:00
Fix mypy error with opentracing.tags. (#11622)
This commit is contained in:
parent
c500bf37d6
commit
66d7aa783a
1
changelog.d/11622.misc
Normal file
1
changelog.d/11622.misc
Normal file
@ -0,0 +1 @@
|
|||||||
|
Add opentracing type stubs and fix associated mypy errors.
|
@ -220,6 +220,7 @@ class _DummyTagNames:
|
|||||||
|
|
||||||
try:
|
try:
|
||||||
import opentracing
|
import opentracing
|
||||||
|
import opentracing.tags
|
||||||
|
|
||||||
tags = opentracing.tags
|
tags = opentracing.tags
|
||||||
except ImportError:
|
except ImportError:
|
||||||
|
Loading…
Reference in New Issue
Block a user