Elasticsearch Create Index Python Method Optional Variable