exa.core.database_wrapper.batch_save_observations

exa.core.database_wrapper.batch_save_observations#

batch_save_observations(observations, storage=None)#

Save a list of observations in a batch.

Parameters:
Returns:

The ObservationData objects that were successfully saved into the database. If some observations failed to save, they are omitted here (and logged as a warning by the storage backend); callers needing an all-or-nothing guarantee must check the count.

Return type:

list[ObservationData]