class_docstr: An ``IndexFilter`` filters data by returning the subset of data at a given set of indices.
      
class_docstr_tok: ["An","``","IndexFilter","``","filters","data","by","returning","the","subset","of","data","at","a","given","set","of","indices","."]
code: def __init__(self, *args, **kwargs) -> None:
      if len(args) == 1 and "indices" not in kwargs:
          kwargs["indices"] = args[0]
  
      super().__init__(**kwargs)
  
imports: from __future__ import annotations
  import logging
  from ..core.has_props import abstract
  from ..core.properties import AnyRef, Bool, Instance, Int, NonEmpty, Nullable, Required, RestrictedDict, Seq, String
  from ..model import Model
label_desc: Use image node_id 1 to create a new IndexFilter object from inherited base classes: Filter with example: obj = IndexFilter()