Skip to content

NestedHistoryIterable #

Bases: object

dt property #

Access nested histories as datetime views.

Returns:

Type Description
NestedHistoryDateTimeIterable

Iterable of iterables of HistoryDateTime objects.

event_id property #

Access nested histories as event id views.

Returns:

Type Description
NestedHistoryEventIdIterable

Iterable of iterables of HistoryEventId objects.

intervals property #

Access nested histories as intervals views.

Returns:

Type Description
NestedIntervalsIterable

Iterable of iterables of Intervals objects.

t property #

Access nested histories as timestamp views.

Returns:

Type Description
NestedHistoryTimestampIterable

Iterable of iterables of HistoryTimestamp objects.

__iter__() #

Implement iter(self).

__len__() #

Return len(self).

__repr__() #

Return repr(self).

collect() #

Collect time entries from each history within each nested iterable.

Returns:

Type Description
list[list[list[EventTime]]]

Collected entries per nested history.

flatten() #

Flatten the nested iterable of history objects into a single list of all contained time entries.

Returns:

Type Description
list[EventTime]

List of time entries.