nat.atif.atif_step_extra#
Typed models for NAT metadata inside ATIF Step.extra.
Classes#
Validated ancestry metadata embedded in ATIF |
|
Invocation timing metadata embedded in ATIF |
|
Validated structure for NAT-owned ATIF |
Module Contents#
- class AtifAncestry(/, **data: Any)#
Bases:
pydantic.BaseModelValidated ancestry metadata embedded in ATIF
Step.extra.Create a new model by parsing and validating input data from keyword arguments.
Raises [
ValidationError][pydantic_core.ValidationError] if the input data cannot be validated to form a valid model.selfis explicitly positional-only to allowselfas a field name.- model_config#
Configuration for the model, should be a dictionary conforming to [
ConfigDict][pydantic.config.ConfigDict].
- class AtifInvocationInfo(/, **data: Any)#
Bases:
pydantic.BaseModelInvocation timing metadata embedded in ATIF
Step.extra.Create a new model by parsing and validating input data from keyword arguments.
Raises [
ValidationError][pydantic_core.ValidationError] if the input data cannot be validated to form a valid model.selfis explicitly positional-only to allowselfas a field name.- model_config#
Configuration for the model, should be a dictionary conforming to [
ConfigDict][pydantic.config.ConfigDict].
- validate_timestamp_pairing() AtifInvocationInfo#
- class AtifStepExtra(/, **data: Any)#
Bases:
pydantic.BaseModelValidated structure for NAT-owned ATIF
Step.extrapayload.Create a new model by parsing and validating input data from keyword arguments.
Raises [
ValidationError][pydantic_core.ValidationError] if the input data cannot be validated to form a valid model.selfis explicitly positional-only to allowselfas a field name.- model_config#
Configuration for the model, should be a dictionary conforming to [
ConfigDict][pydantic.config.ConfigDict].
- ancestry: AtifAncestry = None#
- invocation: AtifInvocationInfo | None = None#
- tool_ancestry: list[AtifAncestry] = None#
- tool_invocations: list[AtifInvocationInfo] | None = None#