class_docstr: Utility class that declares and fetches averaging-related keys using a DHT
class_docstr_tok: ["Utility","class","that","declares","and","fetches","averaging-related","keys","using","a","DHT"]
code: def current_key(self) -> GroupKey:
      return f"{self.prefix}.0b{self.group_bits}"
  
file_path: hivemind/hivemind/averaging/key_manager.py
imports: import random
  import re
  from typing import List, Optional, Tuple
  import numpy
  from hivemind.averaging.group_info import GroupInfo
  from hivemind.dht import DHT
  from hivemind.p2p import PeerID
  from hivemind.utils import DHTExpiration, get_logger
label_desc: Use image node_id 2 for calling the GroupKeyManager obj's underlying member method code with example usage: obj.current_key() and returns: self, str, self