Module macrobond_data_api.common.types.series_with_vintages
Classes
class SeriesWithVintages
-
A time series with times of change
Instance variables
var error_text : str | None
-
The error text if there was an error or not specified if there was no error
var last_modified : datetime.datetime | None
-
The timestamp of the last modification to be used in the next call to
Api.get_many_series_with_revisions()
. var last_revision : datetime.datetime | None
-
The timestamp of the last revision to be used in the next call to
Api.get_many_series_with_revisions()
. var last_revision_adjustment : datetime.datetime | None
-
The timestamp of the last revision adjustment to be used in the next call to
Api.get_many_series_with_revisions()
. var metadata : Mapping[str, Any] | None
-
The time when this version of the series was recorded
var primary_name : str
-
The primary name of the entity.
var status_code : StatusCode
-
Set if there was an error and not specified if there was no error
var vintages : List[VintageValues]
-
If specified, incremental updates can be return. PartialContent (206) will be returned in that case. The value should be from the metadata LastRevisionAdjustmentTimeStamp of the previous response.
class VintageValues
-
A time series with times of change
Instance variables
var dates : List[datetime.datetime]
-
The dates of the vintage series.
var values : List[float | None]
-
The values of the vintage series. Missing values are represented by null.
var vintage_time_stamp : datetime.datetime | None
-
The time when this version of the series was recorded