SequenceData#
Module: exa.core.sequence.interface
- class SequenceData(*, name, analysis, options={})#
Bases:
BaseModelThe serializable part of a
Sequence.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.
self is explicitly positional-only to allow self as a field name.
Attributes
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
Name of the sequence.
Callable that analyzes the sequence-level
SequenceExecuteResultData.Arbitrary options to control sequence behavior.
Methods
Serialize analysis.
Cast str fqdn to type.
- Parameters:
name (str)
analysis (Callable[[...], SequenceAnalyzeResult])
options (Annotated[dict[str, Any], PlainSerializer(func=~exa.core.sequence.interface._serialize_nested_value, return_type=PydanticUndefined, when_used=always), PlainValidator(func=~exa.core.sequence.interface._deserialize_nested_value, json_schema_input_type=~typing.Any)])
- analysis: Analysis#
Callable that analyzes the sequence-level
SequenceExecuteResultData.
- options: Annotated[dict[str, Any], PlainSerializer(_serialize_nested_value), PlainValidator(_deserialize_nested_value)]#
Arbitrary options to control sequence behavior. Must contain only basic Python types.
- model_config: ClassVar[ConfigDict] = {'arbitrary_types_allowed': True}#
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- serialize_analysis(value, _info)#
Serialize analysis.
Inheritance
