benchling_api_client.models.mixture_update module

class MixtureUpdate

Bases: object

__init__(aliases: Union[benchling_api_client.types.Unset, List[str]] = attr_dict['_aliases'].default, amount: Union[benchling_api_client.types.Unset, str] = attr_dict['_amount'].default, author_ids: Union[benchling_api_client.types.Unset, List[str]] = attr_dict['_author_ids'].default, custom_fields: Union[benchling_api_client.types.Unset, CustomFields] = attr_dict['_custom_fields'].default, entity_registry_id: Union[benchling_api_client.types.Unset, str] = attr_dict['_entity_registry_id'].default, fields: Union[benchling_api_client.types.Unset, Fields] = attr_dict['_fields'].default, folder_id: Union[benchling_api_client.types.Unset, str] = attr_dict['_folder_id'].default, ingredients: Union[benchling_api_client.types.Unset, List[IngredientWriteParams]] = attr_dict['_ingredients'].default, name: Union[benchling_api_client.types.Unset, str] = attr_dict['_name'].default, schema_id: Union[benchling_api_client.types.Unset, str] = attr_dict['_schema_id'].default, units: Union[benchling_api_client.types.Unset, MixtureMeasurementUnits] = attr_dict['_units'].default) None

Method generated by attrs for class MixtureUpdate.

property aliases: List[str]

Aliases to add to the mixture

property amount: str

The positive numerical amount value of this mixture in string format (to preserve full precision). Pair with units. Supports scientific notation (1.23e4).

property author_ids: List[str]

IDs of users to set as the mixture’s authors.

property custom_fields: CustomFields
property entity_registry_id: str
property fields: Fields
property folder_id: str

ID of the folder that the entity is moved into

classmethod from_dict(src_dict: Dict[str, Any]) benchling_api_client.models.mixture_update.T
property ingredients: List[IngredientWriteParams]

Desired final state for the ingredients on this mixture. Each ingredient you specify will be matched with the existing ingredients on the mixture based on the component entity, and Benchling will create, update, or delete this mixture’s ingredients so that the final state of this mixture’s ingredients matches your request. Benchling will recognize that any ingredients you specify that match ingredients on the parent mixture (based on component entity) are inherited. This can be seen on the returned ingredients[i].hasParent attribute.

property name: str
property schema_id: str
to_dict() Dict[str, Any]
property units: MixtureMeasurementUnits