From dea76f27e6eb2c9fadf52be7dcd6af2f974612ea Mon Sep 17 00:00:00 2001 From: Jonathan Ehwald Date: Sun, 17 Nov 2024 17:44:17 +0100 Subject: [PATCH] Fix quotes in f-string --- .../subscriptions/protocols/graphql_transport_ws/handlers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/strawberry/subscriptions/protocols/graphql_transport_ws/handlers.py b/strawberry/subscriptions/protocols/graphql_transport_ws/handlers.py index eb954ebd75..9e3aced1e4 100644 --- a/strawberry/subscriptions/protocols/graphql_transport_ws/handlers.py +++ b/strawberry/subscriptions/protocols/graphql_transport_ws/handlers.py @@ -148,7 +148,7 @@ async def handle_message(self, message: Message) -> None: await self.handle_complete(message) else: - error_message = f"Unknown message type: {message["type"]}" + error_message = f"Unknown message type: {message['type']}" await self.handle_invalid_message(error_message) except KeyError: