def __init__(self, journey: objectify.ObjectifiedElement, now: datetime) -> None:
self.journey: objectify.ObjectifiedElement = journey<EOL>self.now: datetime = now<EOL>self.attr_types = self.journey.JourneyAttributeList.xpath("<STR_LIT>")<EOL>self.name: str = self._extract("<STR_LIT>")<EOL>self.number: str = self._extract("<STR_LIT>")<EOL>self.product: str = self._extract("<STR_LIT>")<EOL>self.train_id: str = self.journey.get("<STR_LIT>")<EOL>self.departure: datetime = self._departure()<EOL>self.delay: int = self._delay()<EOL>self.real_departure_time: datetime = self._real_departure_time()<EOL>self.real_departure: int = self._real_departure()<EOL>self.direction = self._extract("<STR_LIT>")<EOL>self.info = self._info()<EOL>self.info_long = self._info_long()<EOL>self.platform = self._platform()<EOL>self.stops = self._pass_list()<EOL>self.icon = self._icon()<EOL>
Initialize the journey object.