This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! usr/local/bin/python3.6 | |
# coding: utf-8 | |
from elasticsearch.helpers import bulk | |
from elasticsearch import Elasticsearch | |
from . import models | |
from elasticsearch_dsl.connections import connections | |
from elasticsearch_dsl import DocType, Text, Date, Search | |
connections.create_connection() |