bayesline.api.equity.UploadDataTypeFreshness#
- pydantic model bayesline.api.equity.UploadDataTypeFreshness#
Freshness summary for an upload data type.
Parameters#
- data_typestr
The name of the upload data type (e.g., “portfolios”, “exposures”).
- last_committed_atdt.datetime | None
The most recent commit timestamp across all datasets of this data type. None if no datasets exist or no commits have been made.
Show JSON schema
{ "title": "UploadDataTypeFreshness", "description": "Freshness summary for an upload data type.\n\nParameters\n----------\ndata_type : str\n The name of the upload data type (e.g., \"portfolios\", \"exposures\").\nlast_committed_at : dt.datetime | None\n The most recent commit timestamp across all datasets of this data type.\n None if no datasets exist or no commits have been made.", "type": "object", "properties": { "data_type": { "title": "Data Type", "type": "string" }, "last_committed_at": { "anyOf": [ { "format": "date-time", "type": "string" }, { "type": "null" } ], "default": null, "title": "Last Committed At" } }, "additionalProperties": false, "required": [ "data_type" ] }
- Config:
frozen: bool = True
extra: str = forbid
- Fields:
data_type (str)last_committed_at (datetime.datetime | None)