Trees | Indices | Help |
|
---|
|
Remote API base resources library.
|
|||
ResourceBase Generic class for resources. |
|||
_MetaOpcodeResource Meta class for RAPI resources. |
|||
OpcodeResource Base class for opcode-based RAPI resources. |
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
dict |
|
||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|
|||
_DEFAULT = object()
|
|||
_SUPPORTED_METHODS = frozenset([http.HTTP_DELETE, http.HTTP_GE Supported HTTP methods |
|||
_OPCODE_ATTRS = _BuildOpcodeAttributes()
|
Imports: logging, luxi, rapi, http, errors, compat
|
Builds a URI list as used by index resources.
|
Creates a list containing one column out of a list of lists.
|
Maps two lists into one dictionary. Example: >>> MapFields(["a", "b"], ["foo", 123]) {'a': 'foo', 'b': 123}
|
Map value to field name in to one dictionary.
|
Makes params dictionary out of a option set. This function returns a dictionary needed for hv or be parameters. But only those fields which provided in the option set. Takes parameters frozensets from constants.
|
Fills an opcode with body parameters. Parameter types are checked.
|
Feedback logging function for jobs. We don't have a stdout for printing log messages, so log them to the http log at least.
|
Abort request if value type doesn't match expected type.
|
Check and return the value for a given parameter. If no default value was given and the parameter doesn't exist in the input data, an error is raise.
|
|
_SUPPORTED_METHODSSupported HTTP methods
|
Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Fri Jan 18 10:09:28 2013 | http://epydoc.sourceforge.net |