Package coprs :: Package logic :: Module actions_logic :: Class ActionsLogic
[hide private]
[frames] | no frames]

Class ActionsLogic

source code


Instance Methods [hide private]

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __init__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Class Methods [hide private]
 
get(cls, action_id)
Return single action identified by `action_id`
source code
 
get_waiting(cls)
Return actions that aren't finished
source code
 
get_by_ids(cls, ids)
Return actions matching passed `ids`
source code
 
update_state_from_dict(cls, action, upd_dict)
Update `action` object with `upd_dict` data
source code
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

update_state_from_dict(cls, action, upd_dict)
Class Method

source code 

Update `action` object with `upd_dict` data

Updates result, message and ended_on parameters.