We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 031b650 commit 5b1e83eCopy full SHA for 5b1e83e
1 file changed
stubs/dateparser/dateparser/languages/locale.pyi
@@ -18,7 +18,7 @@ class Locale:
18
def is_applicable(self, date_string: str, strip_timezone: bool = False, settings: Settings | None = None) -> bool: ...
19
def count_applicability(self, text: str, strip_timezone: bool = False, settings: Settings | None = None) -> list[int]: ...
20
@staticmethod
21
- def clean_dictionary(dictionary: Mapping[_K, _V], threshold: int = 2) -> Mapping[_K, _V]: ...
+ def clean_dictionary(dictionary: Mapping[_K, _V], threshold: int = 2) -> Mapping[_K, _V]: ... # type: ignore[type-var]
22
def translate(self, date_string: str, keep_formatting: bool = False, settings: Settings | None = None) -> str: ...
23
def translate_search(self, search_string: str, settings: Settings | None = None) -> tuple[list[str], list[str]]: ...
24
def get_wordchars_for_detection(self, settings: Settings) -> set[str]: ...
0 commit comments