spinetoolbox.load_project_items
¶
Functions to load project item modules.
- author
Soininen (VTT)
- date
29.4.2020
Module Contents¶
Functions¶
Check if spine_items is the preferred version. |
|
|
Downloads spine_items to a temporary directory. |
|
Installs spine_items from a temporary directory. |
|
|
Upgrades project items. |
|
Loads the standard project item modules included in the Toolbox package. |
|
|
- spinetoolbox.load_project_items._spine_items_version_check()[source]¶
Check if spine_items is the preferred version.
- spinetoolbox.load_project_items._download_spine_items(tmpdirname)[source]¶
Downloads spine_items to a temporary directory.
- Parameters
tmpdirname (str) –
- spinetoolbox.load_project_items._install_spine_items(tmpdirname)[source]¶
Installs spine_items from a temporary directory.
- Parameters
tmpdirname (str) –
- spinetoolbox.load_project_items.upgrade_project_items()[source]¶
Upgrades project items.
- Returns
True if upgraded, False if no action taken.
- Return type
bool