@cli.register_custom_action(('<STR_LIT>', '<STR_LIT>'))<EOL><INDENT>@exc.on_http_error(exc.GitlabTimeTrackingError)<EOL>def time_stats(self, **kwargs):<DEDENT>
<EOL>if '<STR_LIT>' in self.attributes:<EOL><INDENT>return self.attributes['<STR_LIT>']<EOL><DEDENT>path = '<STR_LIT>' % (self.manager.path, self.get_id())<EOL>return self.manager.gitlab.http_get(path, **kwargs)<EOL>
Get time stats for the object.

        Args:
            **kwargs: Extra options to send to the server (e.g. sudo)

        Raises:
            GitlabAuthenticationError: If authentication is not correct
            GitlabTimeTrackingError: If the time tracking update cannot be done