diff options
author | Joe Gordon <jogo@pinterest.com> | 2022-08-17 10:01:18 -0700 |
---|---|---|
committer | Joe Gordon <jogo@pinterest.com> | 2022-09-12 09:49:43 -0700 |
commit | aba7f3ffd0fe76f0a6068c05133b5bb2fef94909 (patch) | |
tree | 2d88b451d1782046b21ab62241c550b0f26c6057 /pymemcache/client/hash.py | |
parent | 6b85dea74b6545a1a0dc2f1f22bc84ec7c4ea8cd (diff) | |
download | pymemcache-aba7f3ffd0fe76f0a6068c05133b5bb2fef94909.tar.gz |
Start to add type hints
First pass at adding some type hints to pymemcache to make it easier to
develop against etc.
Diffstat (limited to 'pymemcache/client/hash.py')
-rw-r--r-- | pymemcache/client/hash.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pymemcache/client/hash.py b/pymemcache/client/hash.py index db44108..57b07db 100644 --- a/pymemcache/client/hash.py +++ b/pymemcache/client/hash.py @@ -154,7 +154,7 @@ class HashClient: self._dead_clients[server] = dead_time self.hasher.remove_node(key) - def _retry_dead(self): + def _retry_dead(self) -> None: current_time = time.time() ldc = self._last_dead_check_time # We have reached the retry timeout |