bayesline.api.equity.AsyncRiskDatasetApi.update

bayesline.api.equity.AsyncRiskDatasetApi.update#

abstract async AsyncRiskDatasetApi.update(force: bool = False) RiskDatasetUpdateResult#

Checks the underlying datasets for updates and updates this dataset to the latest versions.

Parameters#

force: bool

If true, the update will be forced even if the dataset is up to date.

Raises#

DatasetError

if an error occurs

Returns#

RiskDatasetUpdateResult

The result of the update operation.