docstr: Used to return a couple of infos that are needed when accessing the sub
  objects of an objects
docstr_tok: ["Used","to","return","a","couple","of","infos","that","are","needed","when","accessing","the","sub","objects","of","an","objects"]
code: def get_dir_infos(self):
      """
      Used to return a couple of infos that are needed when accessing the sub
      objects of an objects
      """
      # TODO is_allowed_getattr might raise an AttributeError
      tuples = dict(
          (force_unicode(name), self.is_allowed_getattr(name))
          for name in self.dir()
      )
      return self.needs_type_completions(), tuples
  
imports: import inspect
  import types
  import sys
  from textwrap import dedent
  import operator
  from collections import namedtuple
  from jedi._compatibility import unicode, is_py3, builtins, py_version, force_unicode, print_to_stderr
  from jedi.evaluate.compiled.getattr_static import getattr_static
label_desc: Use image node_id 32 for calling the DirectObjectAccess obj's underlying member method code with example usage: obj.get_dir_infos() and returns: self,  tuples