REST Python Module¶
Class for the cart interface.
Allows API to file interactions.
-
exception
pacifica.cartd.rest.
CartInterfaceError
¶ CartInterfaceError.
Basic exception class for this module. Will be used to throw exceptions up to the top level of the application.
-
__weakref__
¶ list of weak references to the object (if defined)
-
-
class
pacifica.cartd.rest.
CartRoot
¶ Define the methods that can be used for cart request types.
Doctest for the cart generator class HPSS Doc Tests
-
static
DELETE
(uid)¶ Delete a cart that has been created.
-
static
GET
(uid, **kwargs)¶ Download the tar file created by the cart.
-
static
HEAD
(uid)¶ Get the status of a carts tar file.
-
static
POST
(uid)¶ Get all the files locally and bundled.
-
__weakref__
¶ list of weak references to the object (if defined)
-
static
-
pacifica.cartd.rest.
bytes_type
(unicode_obj)¶ Convert the unicode object into bytes.
-
pacifica.cartd.rest.
error_page_default
(**kwargs)¶ The default error page should always enforce json.