minor documentation / annotation fixes

This commit is contained in:
2018-01-05 11:58:33 +01:00
parent 2ed2aaf58f
commit 2433a1b981
4 changed files with 16 additions and 12 deletions

View File

@@ -14,11 +14,12 @@ log = logging.getLogger(__name__)
class ResetIndexTask(object):
""" Clear and build index / mapping """
index_key = ''
"""Key into the ELASTIC_INDICES dict in the app config."""
# Key into the ELASTIC_INDICES dict in the app config.
index_key: str = ''
# List of elastic document types
doc_types = []
doc_types: List = []
name = 'remove index'
def __init__(self):