Generic class for resources.
|
__init__(self,
items,
queryargs,
req,
_client_cls=None)
Generic resource constructor. |
source code
|
|
|
_GetRequestBody(self)
Returns the body data. |
source code
|
|
|
_checkIntVariable(self,
name,
default=0)
Return the parsed value of an int argument. |
source code
|
|
|
_checkStringVariable(self,
name,
default=None)
Return the parsed value of a string argument. |
source code
|
|
|
|
|
useLocking(self)
Check if the request specifies locking. |
source code
|
|
|
useBulk(self)
Check if the request specifies bulk querying. |
source code
|
|
|
useForce(self)
Check if the request specifies a forced operation. |
source code
|
|
|
dryRun(self)
Check if the request specifies dry-run mode. |
source code
|
|
|
|
string
|
SubmitJob(self,
op,
cl=None)
Generic wrapper for submit job, for better http compatibility. |
source code
|
|
Inherited from object :
__delattr__ ,
__format__ ,
__getattribute__ ,
__hash__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__repr__ ,
__setattr__ ,
__sizeof__ ,
__str__ ,
__subclasshook__
|