Menu
Introduction
Getting Started
Developer guide
Release
Architecture
CLI
Technical documentations
Version
Publication date

Mar 9, 2022

Confidentiality
Public
Reactions
1
Share

ScenarioTransfertService

Functions
export_scenario_to_lab @classmethod

Export a scenario to a lab synchronously and return the newly created scenario that exportes the scenario to the lab

scenario_id : str
values : dict
Return type : Scenario
export_scenario_to_lab_async @classmethod

Export a scenario to a lab asynchronously and return the newly created scenario that exports the scenario to the lab

scenario_id : str
values : dict
Return type : ExportScenarioToLabResponseDTO
get_export_scenario_to_lab_config_specs @classmethod
Return type : dict
get_import_scenario_config_specs @classmethod
Return type : dict
import_from_lab_async @classmethod

Run the import scenario asynchronously, return the running import scenario

values : dict
Return type : Scenario
import_from_lab_sync @classmethod

Run the import scenario synchronously and wait for it to finished and return the imported scenario

values : dict
Return type : Scenario
update_scenario_from_external_lab @classmethod

Update a scenario that is running in an external lab by downloading its current state using ScenarioDownloaderFromLab.

Only works for scenarios where is_running_in_external_lab is True.

scenario_id : str
the id of the scenario to update
Return type : ScenarioDTO
Shine Logo
Technical bricks to reuse or customize

Have you developed a brick?

Share it to accelerate projects for the entire community.