gws_core

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