Beispiel #1
0
    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)
Beispiel #2
0
    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)