|
|
__init__(self,
next,
options={})
x.__init__(...) initializes x; see x.__class__.__doc__ for signature |
source code
|
|
|
|
|
|
|
handle_read(self,
records,
**kwargs)
Create perry.Base instances from the raw records dictionaries. |
source code
|
|
|
|
handle_write(self,
response,
**kwargs)
Updates a model after a save. |
source code
|
|
|
|
handle_write_success(self,
response,
model)
Updates the model's state attributes and retrieves a fresh version of
the data attributes if a read adapter is configured. |
source code
|
|
|
|
handle_write_failure(self,
response,
model)
Updates the model instance when a save fails |
source code
|
|
|
|
handle_delete(self,
response,
**kwargs)
Updates the model instance after a delete |
source code
|
|
|
|
add_errors(self,
response,
model,
default_message)
Copies the response errors to the model or uses a default error
message if the response errors are empty. |
source code
|
|
|
Inherited from object:
__delattr__,
__format__,
__getattribute__,
__hash__,
__new__,
__reduce__,
__reduce_ex__,
__repr__,
__setattr__,
__sizeof__,
__str__,
__subclasshook__
|