IndexDetails
trendminer_interface.objects.IndexDetails
Tag indexing details
status
property
status: TagIndexStatus
The current status of the index.
Returns:
| Name | Type | Description |
|---|---|---|
status |
str
|
"ok", "in progress", "out of date", "stale", "incomplete", or "dormant" |
progress
property
progress: float
Tag historic indexing progress percentage (0-100).
created_at
property
created_at: Timestamp
Timestamp the index was created at.
last_modified
property
last_modified: Timestamp
Timestamp the index details were modified.
last_updated
property
last_updated: Timestamp | None
Timestamp the index data was last updated.
coverage_interval
property
coverage_interval: Interval
The time interval for which index requests have been sent to the datasource.
This does not mean that data is available for the entire interval. If the index status is 'ok', the interval left value should equal the index horizon, and the right value should be close to the current time.
data_interval
property
data_interval: Interval
The time interval for which actual data is available in the index.
The left and right values of the returned interval are the timestamps of the earliest and latest data points in the index.
index_frequency
property
index_frequency: Timedelta
The frequency at which the index is generally updated with new data.
update
update() -> IndexDetails
Send a request to update the index with the latest data
Returns:
| Type | Description |
|---|---|
IndexDetails
|
The updated index details after the update request has been processed. |
refresh
refresh() -> None
Refresh the tag index
delete
delete() -> None
Delete the tag index.