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