def get_location(conn, vm_):
    locations = conn.list_locations()
    # Default to Dallas if not otherwise set
    loc = config.get_cloud_config_value('location', vm_, __opts__, default=2)
    for location in locations:
        if str(loc) in (str(location.id), str(location.name)):
            return location
Returns a list of token tags parsed from the given <word> element.
dataset/ETHPy150Open saltstack/salt/salt/cloud/clouds/cloudstack.py/get_location--crossover with--dataset/ETHPy150Open markuskiller/textblob-de/textblob_de/ext/_pattern/text/tree.py/_parse_token