Skip to content

Commit

Permalink
f
Browse files Browse the repository at this point in the history
  • Loading branch information
fstagni committed Jun 27, 2024
1 parent 076a1d0 commit d968abf
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/DIRAC/Core/Utilities/ElasticSearchDB.py
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,9 @@ def getIndexPrefix(self):
return self.__indexPrefix

@ifConnected
def addIndexTemplate(self, name: str, index_patterns: list, mapping: dict, priority: int = 1, settings=None):
def addIndexTemplate(
self, name: str, index_patterns: list, mapping: dict, priority: int = 1, settings: dict = None
) -> dict:
"""Adds an index template.
:param self: self reference
Expand Down

0 comments on commit d968abf

Please sign in to comment.