diff --git a/extensions/positron-python/python_files/positron/positron_ipykernel/connections.py b/extensions/positron-python/python_files/positron/positron_ipykernel/connections.py index 8a9ed4106a6..2dad51ca0f9 100644 --- a/extensions/positron-python/python_files/positron/positron_ipykernel/connections.py +++ b/extensions/positron-python/python_files/positron/positron_ipykernel/connections.py @@ -287,7 +287,7 @@ def _on_comm_close(self, comm_id: str): """ Handles front-end initiated close requests """ - paths = set(self.comm_id_to_path.get(comm_id, set())) + paths: Set[PathKey] = set(self.comm_id_to_path.get(comm_id, set())) if not paths: # id the connection is not associated with any variable path, we close it