def __init__(self, history_id: int, location: Path | URL) -> None:
        """Initialise the history entry item.

        Args:
            history_id: The ID of the item of history.
            location: The location being added to history.
        """
        super().__init__(self._as_prompt(location))
        self.history_id = history_id
        """The ID of the item of history."""
        self.location = location
        """The location for his entry in the history."""
Initialise the history entry item.

        Args:
            history_id: The ID of the item of history.
            location: The location being added to history.
        
frogmouth/widgets/navigation_panes/history.py