def stream_slices(self, stream_state: Mapping[(str, Any)]=None, **kwargs) -> Iterable[Optional[Mapping[(str, any)]]]:
    stream_state = (stream_state or {})
    start_date = pendulum.from_timestamp(stream_state.get(self.cursor_field, self._start_ts))
    for period in chunk_date_range(start_date):
        (yield {'oldest': period.start.timestamp(), 'latest': period.end.timestamp()})
def stream_slices(self, stream_state: Mapping[(str, Any)]=None, **kwargs) -> Iterable[Optional[Mapping[(str, any)]]]:
    stream_state = (stream_state or {})
    start_date = pendulum.from_timestamp(stream_state.get(self.cursor_field, self._start_ts))
    for period in chunk_date_range(start_date):
        (yield {'oldest': period.start.timestamp(), 'latest': period.end.timestamp()})