Back to bricks list
Introduction
Getting Started
Developer guide
Release
Architecture
CLI
Technical documentations
Version

ScenarioTemplateFactory

Functions
FROM_EXPORT_DTO - @classmethod
export_dto : ScenarioTemplateExportDTO
Return type : ScenarioTemplate
FROM_EXPORT_DTO_DICT - @classmethod
export_dict : dict
Return type : ScenarioTemplate
FROM_EXPORT_DTO_STR - @classmethod
export_str : str
Return type : ScenarioTemplate
FROM_PROTOCOL_MODEL - @classmethod
protocol_model : ProtocolModel
Name : str
Description : RichTextDTO
Return type : ScenarioTemplate
MIGRATE_DATA_FROM_1_TO_3 - @classmethod

Migrate the scenario template from version 1 to version 3

graph : dict
Return type : dict
MIGRATE_TO_CURRENT_VERSION - @classmethod

Migrate the scenario template to the current version

scenario_template : dict
scenario template to migrate
Return type : dict