mlos_bench.environments.status
Enum for the status of the benchmark/environment.
Classes
Enum for the status of the benchmark/environment. |
Module Contents
- class mlos_bench.environments.status.Status(*args, **kwds)[source]
Bases:
enum.Enum
Enum for the status of the benchmark/environment.
- is_canceled() bool [source]
Check if the status of the benchmark/environment is CANCELED.
- Return type:
- is_completed() bool [source]
Check if the status of the benchmark/environment is one of {SUCCEEDED, CANCELED, FAILED, TIMED_OUT}.
- Return type:
- is_pending() bool [source]
Check if the status of the benchmark/environment is PENDING.
- Return type:
- is_succeeded() bool [source]
Check if the status of the benchmark/environment is SUCCEEDED.
- Return type: