HomeGuidesAPI ReferenceChangelog
Log In
API Reference

ExecutionLog

execution log contains all information about a current execution. It is the object returned by experiment() and run() methods on WizataDSAPIClient.

Attributes

NameTypeDescription
execution_iduuid.UUIDtechnical id of the execution.
experimentExperimentexperiment associated (read-only, use properties to get id/key).
pipelinePipelinepipeline associated (read-only, use properties to get id/key).
twinTwintwin associated (read-only, use properties to get id/key).
templateTemplatetemplate associated (read-only, use properties to get id/key).
registrationTwinRegistrationregistration associated (read-only).
edge_device_iduuid.UUIDedge device identifier if executed on edge.
statusExecutionStatusexecution status.
levelintlog level.
pipeline_image_iduuid.UUIDpipeline image package used.
timestampinttimestamp of the execution log.
started_dateinttimestamp on which execution started.
queued_dateinttimestamp on which execution was queued.
waiting_timeintduration of the waiting time in the queue.
execution_timeintduration of the execution from started.
trigger_iduuid.UUIDtrigger id used if automatic run.
versionstrpython version (major.minor) used on runners.
propertiesdictconfiguration, parameters and variables.
modelslistlist of model outputs.
plotslistlist of plot outputs.
dataframeslistlist of dataframe outputs.
messagestrlatest log message.
messageslistall log messages.

Methods

from_dict()

create an ExecutionLog from a dictionary.

NameTypeDefaultDescription
datadictdictionary representation.
return: ExecutionLog instance.

to_dict()

convert ExecutionLog to a dictionary.

return: dictionary representation.

get_experiment_id()

get experiment UUID from the log.

get_experiment_key()

get experiment key from the log.

get_pipeline_id()

get pipeline UUID from the log.

get_pipeline_key()

get pipeline key from the log.

get_twin_id()

get twin UUID from the log.

get_twin_key()

get twin hardware key from the log.

get_template_id()

get template UUID from the log.

get_template_key()

get template key from the log.

get_registration_id()

get registration UUID from the log.

get_labels()

get all labels (indexed fields) as a dictionary.

return: dictionary of label key/value pairs.

get_values()

get all values (metric fields) as a dictionary.

return: dictionary of value key/value pairs.