from ossie.utils import prop_helper
...
@background_task
def component_configure(self, domain_name, app_id, comp_id, new_properties):
dom = self._get_domain(domain_name)
comp = dom.find_component(app_id, comp_id)
configure_changes = {}
for prop in comp._properties:
if prop.id in new_properties:
if new_properties[prop.id] != prop.queryValue():
TYPE = prop_helpers.TYPE_MAP.get(prop.type, [type(prop.queryValue())])
configure_changes[prop.id] = (TYPE[0])(new_properties[prop.id])