orkes.graph.FunctionTraceSchema#

pydantic model orkes.graph.FunctionTraceSchema[source]#

Represents the trace of a single function’s execution, capturing its inputs, output, and timing.

function_name#

The name of the traced function.

Type:

str

input_args#

The positional arguments passed to the function.

Type:

tuple

input_kwargs#

The keyword arguments passed to the function.

Type:

dict

return_value#

The value returned by the function.

Type:

Any

elapsed#

The Unix timestamp when the function execution finished.

Type:

float

Fields:
  • elapsed (float)

  • function_name (str)

  • input_args (tuple)

  • input_kwargs (dict)

  • return_value (Any)

field elapsed: float [Required]#
field function_name: str [Required]#
field input_args: tuple [Required]#
field input_kwargs: dict [Required]#
field return_value: Any [Required]#