Skip to content

Commit

Permalink
[dagster webserver] fix websockets on py3.11
Browse files Browse the repository at this point in the history
  • Loading branch information
alangenfeld committed Jan 19, 2024
1 parent aa1289c commit 3b46830
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ async def graphql_ws_endpoint(self, websocket: WebSocket):
"""
tasks: Dict[str, Task] = {}

await websocket.accept(subprotocol=GraphQLWS.PROTOCOL)
await websocket.accept(subprotocol=GraphQLWS.PROTOCOL.value)

try:
while (
Expand Down

0 comments on commit 3b46830

Please sign in to comment.