Esempio n. 1
0
def fetch_area_ids(**kwargs):
    if kwargs['postcode']:
        areas = get_areas_from_postcode(kwargs['postcode'])

    if kwargs['coords']:
        areas = get_areas_from_coords(kwargs['coords'])

    return areas
Esempio n. 2
0
def fetch_area_ids(**kwargs):
    if kwargs['postcode']:
        areas = get_areas_from_postcode(kwargs['postcode'])

    if kwargs['coords']:
        areas = get_areas_from_coords(kwargs['coords'])

    return areas
Esempio n. 3
0
def default_fetch_area_ids(**kwargs):
    if kwargs['coords']:
        areas = get_areas_from_coords(kwargs['coords'])

    return areas
def default_fetch_area_ids(**kwargs):
    if kwargs['coords']:
        areas = get_areas_from_coords(kwargs['coords'])

    return areas