def discard(self, uri): """ Discard this open revision. Returns: ``` result (bool, dict | Revision): The closed Revision or an error ``` """ return delete(self.path(uri), auth = self.auth)
def discard(self, uri): """ Discard this open revision. Returns: ``` Revision The closed Revision or an error ``` """ return delete(self.path(uri), auth=self.auth)
def delete(self, uri): """ Delete this ImportConfig. Note that this cannot be undone. """ return delete(self.path(uri), auth = self.auth)