idmtools_platform_comps.utils.ssmt_utils.common module

idmtools common ssmt tools.

Copyright 2021, Bill & Melinda Gates Foundation. All rights reserved.

idmtools_platform_comps.utils.ssmt_utils.common.ensure_debug_logging()

Ensure we have debug logging enabled in idmtools.

idmtools_platform_comps.utils.ssmt_utils.common.setup_verbose(args: argparse.Namespace)

Setup verbose logging for ssmt.

idmtools_platform_comps.utils.ssmt_utils.common.login_to_env()

Ensure we are logged in to COMPS client.

idmtools_platform_comps.utils.ssmt_utils.common.get_error_handler_dump_config_and_error(job_config)

Define our exception handler for ssmt.

This exception handler writes a “error_reason.json” file to the job that contains error info with additional data.

Parameters:

job_config – Job config used to execute items

Returns:

Error handler for ssmt