def _target_selectors(targets):
    '\n    Return the target selectors from the given target list.\n\n    Transforms the target lists that the client sends in annotation create and\n    update requests into our internal target_selectors format.\n\n    '
    if (targets and ('selector' in targets[0])):
        return targets[0]['selector']
    return []
Return the target selectors from the given target list.

Transforms the target lists that the client sends in annotation create and
update requests into our internal target_selectors format.
def _target_selectors(targets):
    '\n    Return the target selectors from the given target list.\n\n    Transforms the target lists that the client sends in annotation create and\n    update requests into our internal target_selectors format.\n\n    '
    if (targets and ('selector' in targets[0])):
        return targets[0]['selector']
    return []