From 6acd90d11abc8a98350024c15459de2fbfcbb569 Mon Sep 17 00:00:00 2001 From: kshitijk4poor <82637225+kshitijk4poor@users.noreply.github.com> Date: Wed, 9 Sep 2026 21:09:56 +0530 Subject: [PATCH] refactor(dashboard): drop the redundant hash() pre-check in coalesced_read pending.get(key) already raises TypeError for an unhashable key. --- hermes_cli/web_read_coalescing.py | 1 - 1 file changed, 1 deletion(-) diff --git a/hermes_cli/web_read_coalescing.py b/hermes_cli/web_read_coalescing.py index 3e3864e719..3f5b5498a9 100644 --- a/hermes_cli/web_read_coalescing.py +++ b/hermes_cli/web_read_coalescing.py @@ -43,7 +43,6 @@ def coalesced_read(func, *, thread_runner=run_sync): bound = signature.bind(*args, **kwargs) bound.apply_defaults() key = (str(get_hermes_home()), _freeze(bound.arguments)) - hash(key) pending, admission = states.setdefault(loop, ({}, asyncio.Semaphore(1))) task = pending.get(key) if task is None: