From 0a374236b434348517c603f6e3601eec79f26aba Mon Sep 17 00:00:00 2001 From: Profitroll <47523801+profitrollgame@users.noreply.github.com> Date: Fri, 23 Sep 2022 23:00:49 +0200 Subject: [PATCH] Commented annoying type errors --- pyrmv/raw/him_search.py | 60 ++++++++++++++++++++--------------------- 1 file changed, 30 insertions(+), 30 deletions(-) diff --git a/pyrmv/raw/him_search.py b/pyrmv/raw/him_search.py index c71beb8..7fccf82 100644 --- a/pyrmv/raw/him_search.py +++ b/pyrmv/raw/him_search.py @@ -14,38 +14,38 @@ except ImportError: # 2.37. HIM Search (himsearch) def him_search(accessId: str, json: bool = True, - dateB: Union[str, datetime] = None, - dateE: Union[str, datetime] = None, - timeB: Union[str, datetime] = None, - timeE: Union[str, datetime] = None, - weekdays: Union[str, OrderedDict[str, bool]] = None, - himIds: Union[str, list] = None, + dateB: Union[str, datetime] = None, # type: ignore + dateE: Union[str, datetime] = None, # type: ignore + timeB: Union[str, datetime] = None, # type: ignore + timeE: Union[str, datetime] = None, # type: ignore + weekdays: Union[str, OrderedDict[str, bool]] = None, # type: ignore + himIds: Union[str, list] = None, # type: ignore hierarchicalView: bool = False, - operators: Union[str, list] = None, - categories: Union[str, list] = None, - channels: Union[str, list] = None, - companies: Union[str, list] = None, - lines: Union[str, list] = None, - lineids: Union[str, list] = None, - stations: Union[str, list] = None, - fromstation: str = None, - tostation: str = None, - bothways: bool = None, - trainnames: Union[str, list] = None, - metas: Union[str, list] = None, - himcategory: str = None, - himtags: Union[str, list] = None, - regions: Union[str, list] = None, - himtext: Union[str, list] = None, - himtexttags: Union[str, list] = None, - additionalfields: Union[str, list, dict] = None, + operators: Union[str, list] = None, # type: ignore + categories: Union[str, list] = None, # type: ignore + channels: Union[str, list] = None, # type: ignore + companies: Union[str, list] = None, # type: ignore + lines: Union[str, list] = None, # type: ignore + lineids: Union[str, list] = None, # type: ignore + stations: Union[str, list] = None, # type: ignore + fromstation: str = None, # type: ignore + tostation: str = None, # type: ignore + bothways: bool = None, # type: ignore + trainnames: Union[str, list] = None, # type: ignore + metas: Union[str, list] = None, # type: ignore + himcategory: str = None, # type: ignore + himtags: Union[str, list] = None, # type: ignore + regions: Union[str, list] = None, # type: ignore + himtext: Union[str, list] = None, # type: ignore + himtexttags: Union[str, list] = None, # type: ignore + additionalfields: Union[str, list, dict] = None, # type: ignore poly: bool = False, - searchmode: Literal["MATCH", "NOMATCH", "TFMATCH"] = None, - affectedJourneyMode: Literal["ALL", "OFF"] = None, - affectedJourneyStopMode: Literal["ALL", "IMP", "OFF"] = None, - orderBy: Union[str, list] = None, - minprio: Union[str, int] = None, - maxprio: Union[str, int] = None + searchmode: Literal["MATCH", "NOMATCH", "TFMATCH"] = None, # type: ignore + affectedJourneyMode: Literal["ALL", "OFF"] = None, # type: ignore + affectedJourneyStopMode: Literal["ALL", "IMP", "OFF"] = None, # type: ignore + orderBy: Union[str, list] = None, # type: ignore + minprio: Union[str, int] = None, # type: ignore + maxprio: Union[str, int] = None # type: ignore ) -> dict: """The himSearch will return a list of HIM messages if matched by the given criteria as well as affected products if any.