hap.models.contextΒΆ

ClassesΒΆ

HAPContext

HAP execution context inheriting from real Haive StateSchema.

Module ContentsΒΆ

class hap.models.context.HAPContext(/, **data: Any)ΒΆ

Bases: haive.core.schema.state_schema.StateSchema

HAP execution context inheriting from real Haive StateSchema.

Parameters:

data (Any)

agent_metadata: Dict[str, Any] = NoneΒΆ
execution_path: List[str] = NoneΒΆ
graph_context: Dict[str, Any] = NoneΒΆ
property inputs: Dict[str, Any]ΒΆ

Backward compatibility for inputs.

Return type:

Dict[str, Any]

legacy_inputs: Dict[str, Any] = NoneΒΆ
legacy_meta: Dict[str, Any] = NoneΒΆ
legacy_outputs: Dict[str, Any] = NoneΒΆ
legacy_state: Dict[str, Any] = NoneΒΆ
property meta: Dict[str, Any]ΒΆ

Backward compatibility for meta.

Return type:

Dict[str, Any]

property outputs: Dict[str, Any]ΒΆ

Backward compatibility for outputs.

Return type:

Dict[str, Any]

property state: Dict[str, Any]ΒΆ

Backward compatibility for state.

Return type:

Dict[str, Any]