def delete_comment(self, app_url, access_token, comment_id): LOG.info("delete_comment") request_headers = build_request_headers(access_token) response = SESSION.delete(f"{app_url}{self.comment_url}/{comment_id}", headers=request_headers) return response
def delete(self): SESSION.delete(self) SESSION.commit()