class_docstr: This class contains the wrapper functions to bring supported redis
  modules into the command namespace.
class_docstr_tok: ["This","class","contains","the","wrapper","functions","to","bring","supported","redis","modules","into","the","command","namespace","."]
docstr: Access the graph namespace, providing support for
  redis graph data.
docstr_tok: ["Access","the","graph","namespace",",","providing","support","for","redis","graph","data","."]
code: def graph(self, index_name="idx"):
      """Access the graph namespace, providing support for
      redis graph data.
      """
  
      from .graph import Graph
  
      g = Graph(client=self, name=index_name)
      return g
  
file_path: redis-py/redis/commands/redismodules.py
imports: from json import JSONDecoder, JSONEncoder
label_desc: Use image node_id 9 for calling the RedisModuleCommands obj's underlying member method code with example usage: obj.graph(index_name) and returns: g