glance.common.scripts package¶
Subpackages¶
Submodules¶
glance.common.scripts.utils module¶
-
glance.common.scripts.utils.
get_task
(task_repo, task_id)[source]¶ Gets a TaskProxy object.
Parameters: - task_repo – TaskRepo object used to perform DB operations
- task_id – ID of the Task
-
glance.common.scripts.utils.
unpack_task_input
(task)[source]¶ Verifies and returns valid task input dictionary.
Parameters: task – Task domain object
-
glance.common.scripts.utils.
set_base_image_properties
(properties=None)[source]¶ Sets optional base properties for creating Image.
Parameters: properties – Input dict to set some base properties