geodesic.boson.dataset.Dataset.reinitialize#

Dataset.reinitialize(force=False)[source]#

Issue an initialize command to this dataset’s provider.

Reinitializes a dataset. This will reinitialize the dataset in the background, and will return immediately. If the kicking off reindexing is successful, this will return a message {“success”: True}, otherwise it will raise an exception with the error message.

Parameters:

force (bool) – if True, will force the reinitialize to run even if it has previously completed

Returns:

a this Dataset if successful

Raises:

requests.HTTPError – if an error occurs when submitting the command

Return type:

CommandStatusResponse