File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ def get_packages(package):
46
46
env_marker_gte_37 = "python_version >= '3.7'"
47
47
48
48
minimal_requirements = [
49
- "asgiref>=3.4.0 " ,
49
+ "asgiref>=3.3.4 " ,
50
50
"click>=7.0" ,
51
51
"h11>=0.8" ,
52
52
"typing-extensions;" + env_marker_below_38 ,
Original file line number Diff line number Diff line change 16
16
ASGISendCallable ,
17
17
HTTPScope ,
18
18
Scope ,
19
- WebSocketScope ,
19
+ WebsocketScope ,
20
20
)
21
21
22
22
@@ -47,7 +47,7 @@ async def __call__(
47
47
self , scope : Scope , receive : ASGIReceiveCallable , send : ASGISendCallable
48
48
) -> None :
49
49
if scope ["type" ] in ("http" , "websocket" ):
50
- scope = cast (Union [HTTPScope , WebSocketScope ], scope )
50
+ scope = cast (Union [HTTPScope , WebsocketScope ], scope )
51
51
client_addr : Optional [Tuple [str , int ]] = scope .get ("client" )
52
52
client_host = client_addr [0 ] if client_addr else None
53
53
You can’t perform that action at this time.
0 commit comments