class_docstr: Parameters
  ----------
  ttype
      Type of pytensor variable this list will contains, can be another list.
  depth
      Optional parameters, any value above 0 will create a nested list of
      this depth. (0-based)
class_docstr_tok: ["Parameters","--","--","--","--","--","ttype","Type","of","pytensor","variable","this","list","will","contains",",","can","be","another","list",".","depth","Optional","parameters",",","any","value","above","0","will","create","a","nested","list","of","this","depth",".","(","0-based",")"]
docstr: Utilitary function to get the 0 based level of the list.
docstr_tok: ["Utilitary","function","to","get","the","0","based","level","of","the","list","."]
code: def get_depth(self):
      """
      Utilitary function to get the 0 based level of the list.
  
      """
      if isinstance(self.ttype, TypedListType):
          return self.ttype.get_depth() + 1
      else:
          return 0
  
file_path: pytensor/pytensor/typed_list/type.py
imports: from pytensor.link.c.type import CType, Type
label_desc: Use image node_id 6 for calling the TypedListType obj's underlying member method code with example usage: obj.get_depth() and returns: unknown, int