idmtools_platform_local.internals.data.job_status module

idmtools local platform job status data defintion.

This definition is used for both experiments and simulations.

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

class idmtools_platform_local.internals.data.job_status.JobStatus(**kwargs)

Bases: Base

Generic status table.

At moment we only have one which contains both experiments and simulations We do it this way to allow for more flexible support in future for non-emod-ish workflows(ie a bunch of single jobs instead of an experiment with sub simulations

uuid
parent_uuid
status
data_path
tags
extra_details
created
updated
to_dict(as_experiment=True)

Convert status to dictionary.

__init__(**kwargs)

A simple constructor that allows initialization from kwargs.

Sets attributes on the constructed instance using the names and values in kwargs.

Only keys that are present as attributes of the instance’s class are allowed. These could be, for example, any mapped columns or relationships.