PredictedInitQuantaModel#

class lsst.pipe.base.quantum_graph.PredictedInitQuantaModel(root: RootModelRootType = PydanticUndefined)#

Bases: RootModel

Data model for the init-inputs and init-outputs of a predicted quantum graph.

Attributes Summary

model_config

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

Methods Summary

copy(*args, **kwargs)

See pydantic.BaseModel.copy.

model_construct(*args, **kwargs)

See pydantic.BaseModel.model_construct.

model_copy(*args, **kwargs)

See pydantic.BaseModel.model_copy.

model_dump(*args, **kwargs)

See pydantic.BaseModel.model_dump.

model_dump_json(*args, **kwargs)

See pydantic.BaseModel.model_dump_json.

model_json_schema(*args, **kwargs)

See pydantic.BaseModel.model_json_schema.

model_validate(*args, **kwargs)

See pydantic.BaseModel.model_validate.

model_validate_json(*args, **kwargs)

See pydantic.BaseModel.model_validate_json.

model_validate_strings(*args, **kwargs)

See pydantic.BaseModel.model_validate_strings.

update_from_old_quantum_graph(old_quantum_graph)

Update this model in-place by extracting from an old QuantumGraph instance.

Attributes Documentation

model_config: ClassVar[ConfigDict] = {}#

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

Methods Documentation

copy(*args: Any, **kwargs: Any) Any#

See pydantic.BaseModel.copy.

classmethod model_construct(*args: Any, **kwargs: Any) Any#

See pydantic.BaseModel.model_construct.

model_copy(*args: Any, **kwargs: Any) Any#

See pydantic.BaseModel.model_copy.

model_dump(*args: Any, **kwargs: Any) Any#

See pydantic.BaseModel.model_dump.

model_dump_json(*args: Any, **kwargs: Any) Any#

See pydantic.BaseModel.model_dump_json.

classmethod model_json_schema(*args: Any, **kwargs: Any) Any#

See pydantic.BaseModel.model_json_schema.

classmethod model_validate(*args: Any, **kwargs: Any) Any#

See pydantic.BaseModel.model_validate.

classmethod model_validate_json(*args: Any, **kwargs: Any) Any#

See pydantic.BaseModel.model_validate_json.

classmethod model_validate_strings(*args: Any, **kwargs: Any) Any#

See pydantic.BaseModel.model_validate_strings.

update_from_old_quantum_graph(old_quantum_graph: QuantumGraph) None#

Update this model in-place by extracting from an old QuantumGraph instance.

Parameters#

old_quantum_graphQuantumGraph

Quantum graph.