def build_uda_config_overrides(targets):
from bugwarrior.services import get_service<EOL>targets_udas = {}<EOL>for target in targets:<EOL><INDENT>targets_udas.update(get_service(target).ISSUE_CLASS.UDAS)<EOL><DEDENT>return {<EOL>'<STR_LIT>': targets_udas<EOL>}<EOL>
Returns a list of UDAs defined by given targets

    For all targets in `targets`, build a dictionary of configuration overrides
    representing the UDAs defined by the passed-in services (`targets`).

    Given a hypothetical situation in which you have two services, the first
    of which defining a UDA named 'serviceAid' ("Service A ID", string) and
    a second service defining two UDAs named 'serviceBproject'
    ("Service B Project", string) and 'serviceBnumber'
    ("Service B Number", numeric), this would return the following structure::

        {
            'uda': {
                'serviceAid': {
                    'label': 'Service A ID',
                    'type': 'string',
                },
                'serviceBproject': {
                    'label': 'Service B Project',
                    'type': 'string',
                },
                'serviceBnumber': {
                    'label': 'Service B Number',
                    'type': 'numeric',
                }
            }
        }