class_docstr: Implement a consistent hashing ring.
class_docstr_tok: ["Implement","a","consistent","hashing","ring","."]
docstr: Returns a list of the instances of all the configured nodes.
docstr_tok: ["Returns","a","list","of","the","instances","of","all","the","configured","nodes","."]
code: def get_instances(self):
      """Returns a list of the instances of all the configured nodes."""
      return [
          c.get("instance")
          for c in self.runtime._nodes.values()
          if c.get("instance")
      ]
  
imports: from bisect import bisect
  from .ring_ketama import KetamaRing
  from .ring_meta import MetaRing
label_desc: Use image node_id 9 for calling the HashRing obj's underlying member method code with example usage: obj.get_instances() and returns: unknown