fermioniq.emulator_message.EmulatorMessage.model_copy#

EmulatorMessage.model_copy(*, update: dict[str, Any] | None = None, deep: bool = False) Self#

Usage docs: https://docs.pydantic.dev/2.8/concepts/serialization/#model_copy

Returns a copy of the model.

Args:
update: Values to change/add in the new model. Note: the data is not validated

before creating the new model. You should trust this data.

deep: Set to True to make a deep copy of the model.

Returns:

New model instance.