def __dir__(self):
result = super(Trajectory, self).__dir__()<EOL>if self._is_run:<EOL><INDENT>result = [x for x in result if not x.startswith('<STR_LIT>') or<EOL>not getattr(getattr(self, x), '<STR_LIT>', False)]<EOL><DEDENT>if not is_debug():<EOL><INDENT>result.extend(self._children.keys())<EOL><DEDENT>return result<EOL>
Adds all children to auto-completion

        In case of a single run it spares all non-available functions