def _update_property_value(properties, key, value):
 for prop in properties:
  if (prop['key'] == key):
   prop.update({'value': value})

def _update_property_value ( properties , key , value ) : for prop in properties : if ( prop [ 'key' ] == key ) : prop . update ( { 'value' : value } )
update property dict in list of properties where prop has "key": key .