Skip to content

Commit

Permalink
Specify type
Browse files Browse the repository at this point in the history
  • Loading branch information
dfalbel committed Apr 9, 2024
1 parent bd32acc commit 3bfc6e7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 3bfc6e7

Please sign in to comment.