def _hubspot_post(url, data):
    api_key = settings.ANALYTICS_IDS.get('HUBSPOT_API_KEY', None)
    if api_key:
        headers = {
            'content-type': 'application/json'
        }
        response = requests.post(
            url,
            params={'hapikey': api_key},
            data=data,
            headers=headers
        )
        _log_response('HS', data, response)
        response.raise_for_status()
Creates the Delaunay triangulation and returns a list of geometries
dataset/ETHPy150Open dimagi/commcare-hq/corehq/apps/analytics/tasks.py/_hubspot_post--crossover with--dataset/ETHPy150Open Toblerity/Shapely/shapely/ops.py/triangulate