arthurai.core.enrichment_status_waiter.await_enrichments_ready#

arthurai.core.enrichment_status_waiter.await_enrichments_ready(model)#

wait for enrichments to be Ready, Training, Disabled, or Failed

Wait until all enrichments for the model reach EnrichmentStatusReady, EnrichmentStatusTraining, EnrichmentStatusFailed, or EnrichmentStatusDisabled states. Prints to the log that it is waiting for the enrichments to be ready to receive inferences until all enrichments reach valid enrichment statuses.

Raises

UserValueError – If an exception occurs when checking the status of the model’s enrichments or all enrichments have reached valid statuses and at least one enrichment is in the EnrichmentStatusFailed state.