def temporal(
        self,
        date_from: Optional[Union[str, dt.date, dt.datetime]] = None,
        date_to: Optional[Union[str, dt.date, dt.datetime]] = None,
        exclude_boundary: bool = False,
    ) -> Self:
        """Filter by an open or closed date range. Dates can be provided as date objects
        or ISO 8601 strings. Multiple ranges can be provided by successive method calls.

        ???+ Tip
            Giving either `datetime.date(YYYY, MM, DD)` or `"YYYY-MM-DD"` as the `date_to`
            parameter includes that entire day (i.e. the time is set to `23:59:59`).
            Using `datetime.datetime(YYYY, MM, DD)` is different, because `datetime.datetime`
            objects have `00:00:00` as their built-in default.

        Parameters:
            date_from: start of temporal range
            date_to: end of temporal range
            exclude_boundary: whether or not to exclude the date_from/to in
                the matched range.

        Returns:
            self

        Raises:
            ValueError: `date_from` or `date_to` is a non-`None` value that is
                neither a datetime object nor a string that can be parsed as a datetime
                object; or `date_from` and `date_to` are both datetime objects (or
                parsable as such) and `date_from` is after `date_to`.
        """
        return super().temporal(date_from, date_to, exclude_boundary)
Filter by an open or closed date range. Dates can be provided as date objects
        or ISO 8601 strings. Multiple ranges can be provided by successive method calls.

        ???+ Tip
            Giving either `datetime.date(YYYY, MM, DD)` or `"YYYY-MM-DD"` as the `date_to`
            parameter includes that entire day (i.e. the time is set to `23:59:59`).
            Using `datetime.datetime(YYYY, MM, DD)` is different, because `datetime.datetime`
            objects have `00:00:00` as their built-in default.

        Parameters:
            date_from: start of temporal range
            date_to: end of temporal range
            exclude_boundary: whether or not to exclude the date_from/to in
                the matched range.

        Returns:
            self

        Raises:
            ValueError: `date_from` or `date_to` is a non-`None` value that is
                neither a datetime object nor a string that can be parsed as a datetime
                object; or `date_from` and `date_to` are both datetime objects (or
                parsable as such) and `date_from` is after `date_to`.
        
earthaccess/search.py