Skip to content

Commit

Permalink
return type checking in language_mapping
Browse files Browse the repository at this point in the history
  • Loading branch information
gavishpoddar authored Aug 17, 2021
1 parent 1ba3dc2 commit a2c999f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion dateparser/custom_language_detection/language_mapping.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
from typing import List

from dateparser.data.languages_info import language_map


def map_languages(language_codes):
def map_languages(language_codes) -> List[str]:
"""
Returns the candidates from the supported languages codes.
:param language_codes:
Expand Down

0 comments on commit a2c999f

Please sign in to comment.