Commented annoying type errors
This commit is contained in:
parent
f8e7fae9e3
commit
0a374236b4
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user