-
Notifications
You must be signed in to change notification settings - Fork 0
scenarios
Sam Vente edited this page Aug 6, 2024
·
1 revision
``
Name | Description |
---|---|
create_scenario | |
delete_scenario | |
edit_scenario | |
get_scenario | |
get_scenarios | |
run_scenario | |
save_scenario | Save the scenario to the Database(). |
create_scenario(attrs)
delete_scenario(name)
edit_scenario(scenario)
get_scenario(name)
get_scenarios()
run_scenario(name)
save_scenario(scenario)
Save the scenario to the Database().
Name | Type | Description | Default |
---|---|---|---|
scenario |
IScenario | The scenario to save. | required |
database |
IDatabase | The database to save the scenario to. | required |
Type | Description |
---|---|
bool | Whether the scenario was saved successfully. |
str | The error message if the scenario was not saved successfully. |