docstr: Clears the value at `key` from the cache, if it exists. Returns itself for
  method chaining.
docstr_tok: ["Clears","the","value","at","`","key","`","from","the","cache",",","if","it","exists",".","Returns","itself","for","method","chaining","."]
code: def clear(self, key):
      # type: (Hashable) -> DataLoader
      """
      Clears the value at `key` from the cache, if it exists. Returns itself for
      method chaining.
      """
      cache_key = self.get_cache_key(key)
      self._promise_cache.pop(cache_key, None)
      return self
  
file_path: wandb/wandb/vendor/promise-2.3.0/wandb_promise/dataloader.py
imports: from collections import namedtuple
  from functools import partial
  from threading import local
  from .promise import Promise, async_instance, get_default_scheduler
label_desc: Use image node_id 5 for calling the DataLoader obj's underlying member method code with example usage: obj.clear(key) and returns: self