class_docstr: A dictionary-like storage that can store binary values and/or nested dictionaries until expiration
class_docstr_tok: ["A","dictionary-like","storage","that","can","store","binary","values","and\/or","nested","dictionaries","until","expiration"]
docstr: Store a (key, value) pair locally at least until expiration_time. See class docstring for details.
  If subkey is not None, adds a subkey-value pair to a dictionary associated with :key: (see store_subkey below)
  :returns: True if new value was stored, False it was rejected (current value is newer)
docstr_tok: ["Store","a","(","key",",","value",")","pair","locally","at","least","until","expiration_time",".","See","class","docstring","for","details",".","If","subkey","is","not","None",",","adds","a","subkey-value","pair","to","a","dictionary","associated","with",":","key",":","(","see","store_subkey","below",")",":","returns",":","True","if","new","value","was","stored",",","False","it","was","rejected","(","current","value","is","newer",")"]
code: def store(
      self,
      key: DHTID,
      value: BinaryDHTValue,
      expiration_time: DHTExpiration,
      subkey: Optional[Subkey] = None,
  ) -> bool:
      """
      Store a (key, value) pair locally at least until expiration_time. See class docstring for details.
      If subkey is not None, adds a subkey-value pair to a dictionary associated with :key: (see store_subkey below)
      :returns: True if new value was stored, False it was rejected (current value is newer)
      """
      if subkey is not None:  # add one sub-key
          return self.store_subkey(key, subkey, value, expiration_time)
      else:  # store regular key
          return super().store(key, value, expiration_time)
  
file_path: hivemind/hivemind/dht/storage.py
imports: from __future__ import annotations
  from typing import Optional, Union
  from hivemind.dht.routing import DHTID, BinaryDHTValue, Subkey
  from hivemind.utils.serializer import MSGPackSerializer
  from hivemind.utils.timed_storage import DHTExpiration, KeyType, TimedStorage, ValueType
label_desc: Use image node_id 1 for calling the DHTLocalStorage obj's underlying member method code with example usage: obj.store(key, value, expiration_time, subkey) and returns: self, super