How to connect to Elasticsearch using Pyton Flask

Solution
app.config['ELASTICSEARCH_URL'] = os.environ.get('ELASTICSEARCH_URL')