0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-11-15 22:42:23 +01:00

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

This commit is contained in:
Patrick Cloke 2021-12-23 06:47:24 -05:00 committed by GitHub
parent c500bf37d6
commit 66d7aa783a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 0 deletions

1
changelog.d/11622.misc Normal file
View file

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

View file

@ -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: