<s> from twilio . rest . resources . util import transform_params <EOL> from twilio . rest . resources import InstanceResource , ListResource <EOL> class Sandbox ( InstanceResource ) : <EOL> id_key = "<STR_LIT>" <EOL> def update ( self , ** kwargs ) : <EOL> """<STR_LIT>""" <EOL> a = self . parent . update ( ** kwargs ) <EOL> self . load ( a . __dict__ ) <EOL> class Sandboxes ( ListResource ) : <EOL> name = "<STR_LIT>" <EOL> instance = Sandbox <EOL> def get ( self ) : <EOL> """<STR_LIT>""" <EOL> return self . get_instance ( self . uri ) <EOL> def update ( self , ** kwargs ) : <EOL> """<STR_LIT>""" <EOL> resp , entry = self . request ( "<STR_LIT:POST>" , self . uri , <EOL> body = transform_params ( kwargs ) ) <EOL> return self . create_instance ( entry ) </s>
