#NEWLINE# def __set__( self , instance , values ) : #NEWLINE# #INDENT# if ( not isinstance ( values , dict ) ) : #NEWLINE# #INDENT# raise DevopsError ( 'Can set only dict' ) #NEWLINE# #UNINDENT# self . _init_proxy_params ( instance ) #NEWLINE# for ( field_name , field_value ) in values . items ( ) : #NEWLINE# #INDENT# if ( field_name not in self . proxy_fields ) : #NEWLINE# #INDENT# raise DevopsError ( 'Unknown field "{}"' . format ( field_name ) ) #NEWLINE# #UNINDENT# setattr ( field_value . _proxy , field_name , field_value )