idmtools_platform_local.internals.workers.utils module¶
idmtools local platform worker utils.
Copyright 2021, Bill & Melinda Gates Foundation. All rights reserved.
- idmtools_platform_local.internals.workers.utils.create_or_update_status(uuid, data_path=None, tags=None, status=Status.created, parent_uuid=None, extra_details=None, session=None, autoclose=True, autocommit=True)¶
Update a jobs status in our db.
- Parameters:
uuid – UUID to update
data_path – Path to data
tags – Tags to set
status – status to set
parent_uuid – Parent uuid
extra_details – Extra details
session – db session
autoclose – Auto close session
autocommit – Auto commit session
- Returns:
None
- idmtools_platform_local.internals.workers.utils.get_host_data_bind()¶
Get our HOST_DATA_BIND configuration.
- Returns:
HOST_DATA_BIND configuration.