We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 59473d7 commit 196188eCopy full SHA for 196188e
trino/client.py
@@ -607,7 +607,7 @@ def process(self, http_response) -> TrinoStatus:
607
for name in get_header_values(
608
http_response.headers, constants.HEADER_DEALLOCATED_PREPARE
609
):
610
- self._client_session.prepared_statements.pop(name)
+ self._client_session.prepared_statements.pop(name, None)
611
612
self._next_uri = response.get("nextUri")
613
0 commit comments