def _get_update_method(self):
if getattr(self, '<STR_LIT>', False):<EOL><INDENT>http_method = self.gitlab.http_post<EOL><DEDENT>else:<EOL><INDENT>http_method = self.gitlab.http_put<EOL><DEDENT>return http_method<EOL>
Return the HTTP method to use.

        Returns:
            object: http_put (default) or http_post