from datetime import datetime from typing import OrderedDict, Union from pyrmv.classes.Stop import Stop from pyrmv.errors.not_ready import NotReadyYetError from pyrmv.enums.search_mode import SearchMode from pyrmv.enums.aff_journey_mode import AffectedJourneyMode from pyrmv.enums.aff_journey_stop_mode import AffectedJourneyStopMode try: from typing import Literal except ImportError: from typing_extensions import Literal def him_search( access_id: str, date_begin: Union[str, datetime] = None, date_end: Union[str, datetime] = None, time_begin: Union[str, datetime] = None, time_end: Union[str, datetime] = None, weekdays: Union[str, OrderedDict[str, bool]] = None, ids: list = None, operators: list = None, categories: list = None, channels: list = None, companies: list = None, lines: list = None, lineids: list = None, stations: list = None, station_from: Union[str, Stop] = None, station_to: Union[str, Stop] = None, bothways: bool = None, trainnames: list = None, search_mode: Literal[SearchMode.MATCH, SearchMode.NOMATCH, SearchMode.TFMATCH] = None, affected_journey_mode: Literal[AffectedJourneyMode.ALL, AffectedJourneyMode.OFF] = None, affected_journey_stop_mode: Literal[AffectedJourneyStopMode.ALL, AffectedJourneyStopMode.IMP, AffectedJourneyStopMode.OFF] = None, priority_min: int = None, priority_max: int = None ) -> None: #List[Message]: raise NotReadyYetError()