Attributes
lab_credentials: CredentialsDataLab
scenario_id: str
user_id: str
Functions
__init__
Waiter to check a scenario of an external lab
scenario_id :
str
scenario id
lab_credentials :
CredentialsDataLab
credentials to access the lab
user_id :
str
current user id
get_scenario_dto
Return type :
ScenarioWaitInfoDTO
get_scenario_import_info
Return type :
ExternalLabImportScenarioResponseDTO
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