Commented annoying type errors
This commit is contained in:
parent
f8e7fae9e3
commit
0a374236b4
@ -14,38 +14,38 @@ except ImportError:
|
|||||||
# 2.37. HIM Search (himsearch)
|
# 2.37. HIM Search (himsearch)
|
||||||
def him_search(accessId: str,
|
def him_search(accessId: str,
|
||||||
json: bool = True,
|
json: bool = True,
|
||||||
dateB: Union[str, datetime] = None,
|
dateB: Union[str, datetime] = None, # type: ignore
|
||||||
dateE: Union[str, datetime] = None,
|
dateE: Union[str, datetime] = None, # type: ignore
|
||||||
timeB: Union[str, datetime] = None,
|
timeB: Union[str, datetime] = None, # type: ignore
|
||||||
timeE: Union[str, datetime] = None,
|
timeE: Union[str, datetime] = None, # type: ignore
|
||||||
weekdays: Union[str, OrderedDict[str, bool]] = None,
|
weekdays: Union[str, OrderedDict[str, bool]] = None, # type: ignore
|
||||||
himIds: Union[str, list] = None,
|
himIds: Union[str, list] = None, # type: ignore
|
||||||
hierarchicalView: bool = False,
|
hierarchicalView: bool = False,
|
||||||
operators: Union[str, list] = None,
|
operators: Union[str, list] = None, # type: ignore
|
||||||
categories: Union[str, list] = None,
|
categories: Union[str, list] = None, # type: ignore
|
||||||
channels: Union[str, list] = None,
|
channels: Union[str, list] = None, # type: ignore
|
||||||
companies: Union[str, list] = None,
|
companies: Union[str, list] = None, # type: ignore
|
||||||
lines: Union[str, list] = None,
|
lines: Union[str, list] = None, # type: ignore
|
||||||
lineids: Union[str, list] = None,
|
lineids: Union[str, list] = None, # type: ignore
|
||||||
stations: Union[str, list] = None,
|
stations: Union[str, list] = None, # type: ignore
|
||||||
fromstation: str = None,
|
fromstation: str = None, # type: ignore
|
||||||
tostation: str = None,
|
tostation: str = None, # type: ignore
|
||||||
bothways: bool = None,
|
bothways: bool = None, # type: ignore
|
||||||
trainnames: Union[str, list] = None,
|
trainnames: Union[str, list] = None, # type: ignore
|
||||||
metas: Union[str, list] = None,
|
metas: Union[str, list] = None, # type: ignore
|
||||||
himcategory: str = None,
|
himcategory: str = None, # type: ignore
|
||||||
himtags: Union[str, list] = None,
|
himtags: Union[str, list] = None, # type: ignore
|
||||||
regions: Union[str, list] = None,
|
regions: Union[str, list] = None, # type: ignore
|
||||||
himtext: Union[str, list] = None,
|
himtext: Union[str, list] = None, # type: ignore
|
||||||
himtexttags: Union[str, list] = None,
|
himtexttags: Union[str, list] = None, # type: ignore
|
||||||
additionalfields: Union[str, list, dict] = None,
|
additionalfields: Union[str, list, dict] = None, # type: ignore
|
||||||
poly: bool = False,
|
poly: bool = False,
|
||||||
searchmode: Literal["MATCH", "NOMATCH", "TFMATCH"] = None,
|
searchmode: Literal["MATCH", "NOMATCH", "TFMATCH"] = None, # type: ignore
|
||||||
affectedJourneyMode: Literal["ALL", "OFF"] = None,
|
affectedJourneyMode: Literal["ALL", "OFF"] = None, # type: ignore
|
||||||
affectedJourneyStopMode: Literal["ALL", "IMP", "OFF"] = None,
|
affectedJourneyStopMode: Literal["ALL", "IMP", "OFF"] = None, # type: ignore
|
||||||
orderBy: Union[str, list] = None,
|
orderBy: Union[str, list] = None, # type: ignore
|
||||||
minprio: Union[str, int] = None,
|
minprio: Union[str, int] = None, # type: ignore
|
||||||
maxprio: Union[str, int] = None
|
maxprio: Union[str, int] = None # type: ignore
|
||||||
) -> dict:
|
) -> dict:
|
||||||
"""The himSearch will return a list of HIM messages if matched by the given criteria as well as affected
|
"""The himSearch will return a list of HIM messages if matched by the given criteria as well as affected
|
||||||
products if any.
|
products if any.
|
||||||
|
Loading…
Reference in New Issue
Block a user