MCPcopy Create free account
hub / github.com/StackStorm/st2 / _create_execution_log_entry

Function _create_execution_log_entry

st2common/st2common/services/executions.py:95–102  ·  view source on GitHub ↗

Create execution log entry object for the provided execution status.

(status, timestamp=None)

Source from the content-addressed store, hash-verified

93
94
95def _create_execution_log_entry(status, timestamp=None):
96 """
97 Create execution log entry object for the provided execution status.
98 """
99 return {
100 "timestamp": timestamp or date_utils.get_datetime_utc_now(),
101 "status": status,
102 }
103
104
105def create_execution_object(

Callers 2

create_execution_objectFunction · 0.85
update_executionFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected