class_docstr: IndexDefinition is used to define a index definition for automatic
  indexing on Hash or Json update.
class_docstr_tok: ["IndexDefinition","is","used","to","define","a","index","definition","for","automatic","indexing","on","Hash","or","Json","update","."]
docstr: Append PREFIX.
docstr_tok: ["Append","PREFIX","."]
code: def _append_prefix(self, prefix):
      """Append PREFIX."""
      if len(prefix) > 0:
          self.args.append("PREFIX")
          self.args.append(len(prefix))
          for p in prefix:
              self.args.append(p)
  
file_path: catboost/contrib/python/redis/py3/redis/commands/search/indexDefinition.py
imports: from enum import Enum
label_desc: Use image node_id 3 for calling the IndexDefinition obj's underlying member method code with example usage: obj._append_prefix(prefix) without return types