NestedHistoryDateTimeIterable
Methods
| Method | Description |
|---|
collect | Collect datetimes for each history in each nested iterable. |
flatten | Flatten the nested iterable of history objects into a single list of all contained datetimes. |
Method Details
Collect datetimes for each history in each nested iterable.
Returns
| Type | Description |
|---|
| list[list[list[datetime]]] | UTC datetimes per nested history. |
Raises
| Exception | Description |
|---|
TimeError | If a timestamp cannot be converted to a datetime. |
Flatten the nested iterable of history objects into a single list of all contained datetimes.
Returns
| Type | Description |
|---|
| list[datetime] | List of UTC datetimes. |
Raises
| Exception | Description |
|---|
TimeError | If a timestamp cannot be converted to a datetime. |