Job#
- class ansys.hps.client.jms.Job(id=<marshmallow.missing>, creation_time=<marshmallow.missing>, modification_time=<marshmallow.missing>, created_by=<marshmallow.missing>, modified_by=<marshmallow.missing>, name=<marshmallow.missing>, eval_status=<marshmallow.missing>, job_definition_id=<marshmallow.missing>, priority=<marshmallow.missing>, values=<marshmallow.missing>, fitness=<marshmallow.missing>, fitness_term_values=<marshmallow.missing>, note=<marshmallow.missing>, creator=<marshmallow.missing>, executed_level=<marshmallow.missing>, elapsed_time=<marshmallow.missing>, host_ids=<marshmallow.missing>, file_ids=<marshmallow.missing>, **kwargs)#
Provides the job resource.
- Parameters:
- id
str,optional Unique ID to access the resource, generated internally by the server on creation.
- creation_time
datetime,optional Date and time that the resource was created.
- modification_time
datetime,optional Date and time that the resource was last modified.
- created_by
str,optional ID of the user who created the object.
- modified_by
str,optional ID of the user who last modified the object.
- name
str,optional Name of the job.
- eval_status
str Evaluation status.
- job_definition_id
str ID of the linked job definition. For more information, see the
JobDefinitionclass.- priority
int,optional Priority for evaluating the job. The default is
0, which is the highest priority. Assigning a higher value to a job makes it a lower priority.- values
dict[str,any],optional Dictionary with (name,value) pairs for all parameters defined in the linked job definition.
- fitness
float,optional Fitness value computed.
- fitness_term_values
dict[str,float],optional Dictionary with (name,value) pairs for all fitness terms computed.
- note
str,optional Note for the job.
- creator
str,optional Additional information about the creator of the job.
- executed_level
int,optional Execution level of the last executed task. A value of
-1indicates that no task has been executed yet.- elapsed_time
float Number of seconds it took the evaluators to update the job.
- host_ids
list,optional List of host IDs of the evaluators that updated the job.
- file_ids
list[str] List of IDs of all files of the job.
- id
Initialize the object.
Methods
Provide a helper function for retrieving fields.
Job.get(key[, default])Get an item from the object, returning a default value if the key is not found.