Trees | Indices | Help |
|
---|
|
Base class for opcode-based RAPI resources.
Instances of this class automatically gain handler functions through
_MetaOpcodeResource for any
method for which a $METHOD$_OPCODE
variable is defined at
class level. Subclasses can define a Get$Method$OpInput
method to do their own opcode input processing (e.g. for static values).
The $METHOD$_RENAME
variable defines which values are
renamed (see baserlib.FillOpcode). Still default behavior cannot be
totally overriden. There are opcode params that are available to all
opcodes, e.g. "depends". In case those params (currently only
"depends") are found in the original request's body, they are
added to the dictionary of parsed parameters and eventually passed to the
opcode. If the parsed body is not represented as a dictionary object, the
values are not added.
|
|||
__metaclass__ Meta class for RAPI resources. |
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from Inherited from Inherited from |
|
|||
DELETE_FORBIDDEN Set this to disable listed parameters and optionally specific values from being set through the DELETE handler (see baserlib.InspectParams) |
|||
DELETE_OPCODE Set this to a class derived from opcodes.OpCode to automatically generate a DELETE handler submitting the opcode |
|||
DELETE_RENAME Set this to rename parameters in the DELETE handler (see baserlib.FillOpcode) |
|||
GET_ALIASES Set this to duplicate return values in GET results (see baserlib.GetHandler) |
|||
GET_FORBIDDEN Set this to disable listed parameters and optionally specific values from being set through the GET handler (see baserlib.InspectParams) |
|||
GET_OPCODE Set this to a class derived from opcodes.OpCode to automatically generate a GET handler submitting the opcode |
|||
GET_RENAME Set this to rename parameters in the GET handler (see baserlib.FillOpcode) |
|||
POST_FORBIDDEN Set this to disable listed parameters and optionally specific values from being set through the POST handler (see baserlib.InspectParams) |
|||
POST_OPCODE Set this to a class derived from opcodes.OpCode to automatically generate a POST handler submitting the opcode |
|||
POST_RENAME Set this to rename parameters in the POST handler (see baserlib.FillOpcode) |
|||
PUT_FORBIDDEN Set this to disable listed parameters and optionally specific values from being set through the PUT handler (see baserlib.InspectParams) |
|||
PUT_OPCODE Set this to a class derived from opcodes.OpCode to automatically generate a PUT handler submitting the opcode |
|||
PUT_RENAME Set this to rename parameters in the PUT handler (see baserlib.FillOpcode) |
|||
Inherited from |
|
|||
GetDeleteOpInput Define this to override the default method for getting opcode parameters (see baserlib.OpcodeResource._GetDefaultData) |
|||
GetGetOpInput Define this to override the default method for getting opcode parameters (see baserlib.OpcodeResource._GetDefaultData) |
|||
GetPostOpInput Define this to override the default method for getting opcode parameters (see baserlib.OpcodeResource._GetDefaultData) |
|||
GetPutOpInput Define this to override the default method for getting opcode parameters (see baserlib.OpcodeResource._GetDefaultData) |
|
|||
Inherited from |
|
Return the static parameters common to all the RAPI calls The reason is a parameter present in all the RAPI calls, and the reason trail has to be build for all of them, so the parameter is read here and used to build the reason trail, that is the actual parameter passed forward. |
Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Mon Apr 4 13:44:03 2016 | http://epydoc.sourceforge.net |