@@ -43,9 +43,9 @@ async def ws_connect(*args, **kwargs):
4343 raise NotImplementedError ("Subscriptions require 'websockets' package." )
4444 yield
4545
46- ClientConnection = Any # type : ignore[misc,assignment,unused-ignore ]
47- Data = Any # type : ignore[misc,assignment,unused-ignore ]
48- Origin = Any # type : ignore[misc,assignment,unused-ignore ]
46+ ClientConnection = Any # ty : ignore[invalid-assignment ]
47+ Data = Any # ty : ignore[invalid-assignment ]
48+ Origin = Any # ty : ignore[invalid-assignment ]
4949
5050 def Subprotocol (* args , ** kwargs ): # type: ignore # noqa: N802, N803
5151 raise NotImplementedError ("Subscriptions require 'websockets' package." )
@@ -62,9 +62,9 @@ def Subprotocol(*args, **kwargs): # type: ignore # noqa: N802, N803
6262 set_span_in_context ,
6363 )
6464except ImportError :
65- Context = Any # type : ignore[misc,assignment,unused-ignore ]
66- Span = Any # type : ignore[misc,assignment,unused-ignore ]
67- Tracer = Any # type : ignore[misc,assignment,unused-ignore ]
65+ Context = Any # ty : ignore[invalid-assignment ]
66+ Span = Any # ty : ignore[invalid-assignment ]
67+ Tracer = Any # ty : ignore[invalid-assignment ]
6868
6969 def get_tracer (* args , ** kwargs ) -> Tracer : # type: ignore
7070 raise NotImplementedError ("Telemetry requires 'opentelemetry-api' package." )
0 commit comments