Attributes
scenario_id: str
Functions
__init__
Waiter to check a scenario
scenario_id :
str
scenario id
get_scenario
Return type :
Scenario
get_scenario_dto
Return type :
ScenarioWaitInfoDTO
wait_until_finished
Wait until the scenario is finished. If the scenario is in draft mode, it will raise an exception
refresh_interval :
int
- 30
interval in seconds between each refresh
refresh_interval_max_count :
int
- 10
maximum number of refresh, if reached, it will raise an exception
set -1 to wait indefinitely
message_dispatcher :
MessageDispatcher
message dispatcher to send messages. If provided, the progress
of scenario is emitted in message_dispatcher
Return type :
ScenarioWaitInfoDTO