Skip to content

Commit

Permalink
fix(builtin:starlette): backport to Python3.8
Browse files Browse the repository at this point in the history
  • Loading branch information
ProgramRipper committed Aug 7, 2022
1 parent fdca936 commit c2551e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/graia/amnesia/builtins/starlette.py
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ def closed(self):
return self.websocket.application_state == WebSocketState.DISCONNECTED


class StarletteRouter(AbstractRouter["StarletteService", str, StarletteRequestIO | StarletteWebsocketIO]):
class StarletteRouter(AbstractRouter["StarletteService", str, "StarletteRequestIO | StarletteWebsocketIO"]):
def __init__(self, starlette: Starlette):
self.starlette = starlette
self.connections = WeakValueDictionary()
Expand Down

0 comments on commit c2551e0

Please sign in to comment.