def METHOD_NAME(body: Body, ags: Optional[str] = None):
    ags = ags or body.ags
    assert ags is not None
    logger.info("Importing streets from {}".format(ags))
    query = format_template(streets_query_template, ags)
    response = requests.post(overpass_api, data={"data": query})
    response.raise_for_status()
    elements = response.json()["elements"]
    ways = [node for node in elements if node["type"] == "way"]
    logger.info("Found {} streets".format(len(ways)))
    streets = []
    for way in ways:
        streets.append(
            SearchStreet(
                displayed_name=way["tags"]["name"], osm_id=way["id"], body=body
            )
        )
    try:
        SearchStreet.objects.bulk_create(streets)
    except IntegrityError:
        logger.warning(
            "The streets were already imported (This will be fixed with the django 2.2"
            " update through ignore_conflicts=True)"
        )