<s> """<STR_LIT>""" <EOL> from json import dumps as dict_to_str <EOL> from cafe . engine . models . base import AutoMarshallingModel <EOL> class UpdateStatus ( AutoMarshallingModel ) : <EOL> def __init__ ( self , status ) : <EOL> super ( UpdateStatus , self ) . __init__ ( ) <EOL> self . worker_status = status <EOL> def _obj_to_json ( self ) : <EOL> return dict_to_str ( self . _obj_to_dict ( ) ) <EOL> def _obj_to_dict ( self ) : <EOL> return { <EOL> '<STR_LIT>' : self . worker_status <EOL> } </s>
