spinetoolbox.project_items.exporter.commands¶
Undo/redo commands for the Exporter project item.
| authors: |
|
|---|---|
| date: | 30.4.2020 |
Module Contents¶
Classes¶
UpdateExporterOutFileName |
Command to update Exporter output file name. | ||
UpdateScenario |
|
||
UpdateExporterSettings |
Command to update Exporter settings. |
-
class
spinetoolbox.project_items.exporter.commands.UpdateExporterOutFileName(exporter, file_name, database_path)[source]¶ Bases:
spinetoolbox.project_commands.SpineToolboxCommandCommand to update Exporter output file name.
Parameters: - exporter (Exporter) – the Exporter
- file_name (str) – the output filename
- database_path (str) – the associated db path
-
class
spinetoolbox.project_items.exporter.commands.UpdateScenario(exporter, scenario, database_url)[source]¶ Bases:
spinetoolbox.project_commands.SpineToolboxCommandParameters: - exporter (Exporter) – the Exporter
- scenario (str, optional) – new scenario name
- database_url (str) – database URL
-
class
spinetoolbox.project_items.exporter.commands.UpdateExporterSettings(exporter, settings, indexing_settings, merging_settings, none_fallback, none_export, database_path)[source]¶ Bases:
spinetoolbox.project_commands.SpineToolboxCommandCommand to update Exporter settings.
Parameters: - exporter (Exporter) – the Exporter
- settings (SetSettings) – gdx settings
- indexing_settings (dict) – parameter indexing settings
- merging_settings (dict) – parameter merging settings
- none_fallback (NoneFallback) – fallback option on None values
- none_export (NoneExport) – how to handle Nones while exporting
- database_path (str) – the db path to update settings for