changed elasticsearch username and password from required to optional (#922)

This commit is contained in:
parthp2107 2021-10-25 10:25:49 +05:30 committed by GitHub
parent ba5c92c9a0
commit 7b05ad7161
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -52,8 +52,8 @@ logger = logging.getLogger(__name__)
class ElasticSearchConfig(ConfigModel):
es_host: str
es_port: int = 9200
es_username: str
es_password: str
es_username: Optional[str] = None
es_password: Optional[str] = None
index_tables: Optional[bool] = True
index_topics: Optional[bool] = True
index_dashboards: Optional[bool] = True