benchling_api_client.models.ingredient module¶
- class Ingredient¶
Bases:
object
- __init__(amount: Union[benchling_api_client.types.Unset, None, IngredientAmount] = attr_dict['_amount'].default, catalog_identifier: Union[benchling_api_client.types.Unset, None, str] = attr_dict['_catalog_identifier'].default, component_entity: Union[benchling_api_client.types.Unset, IngredientComponentEntity] = attr_dict['_component_entity'].default, component_lot_container: Union[benchling_api_client.types.Unset, None, ContainerLabels] = attr_dict['_component_lot_container'].default, component_lot_entity: Union[benchling_api_client.types.Unset, None, EntityLabels] = attr_dict['_component_lot_entity'].default, component_lot_text: Union[benchling_api_client.types.Unset, None, str] = attr_dict['_component_lot_text'].default, has_parent: Union[benchling_api_client.types.Unset, bool] = attr_dict['_has_parent'].default, notes: Union[benchling_api_client.types.Unset, None, str] = attr_dict['_notes'].default, target_amount: Union[benchling_api_client.types.Unset, None, str] = attr_dict['_target_amount'].default, units: Union[benchling_api_client.types.Unset, IngredientMeasurementUnits] = attr_dict['_units'].default) None ¶
Method generated by attrs for class Ingredient.
- property amount: Optional[IngredientAmount]¶
The amount value of this ingredient in its mixture, in string format (to preserve full precision). Pair with units. Supports scientific notation (1.23e4). One ingredient on this mixture can have an amount value of “QS”.
- property component_entity: IngredientComponentEntity¶
- property component_lot_container: Optional[ContainerLabels]¶
- property component_lot_entity: Optional[EntityLabels]¶
- property component_lot_text: Optional[str]¶
Text representing the component lot for this ingredient. This is only present if the mixture schema supports component lots in “text” format.
- property target_amount: Optional[str]¶
The target amount for this ingredient such that this ingredient’s proportion in its mixture would preserve the equivalent ingredient’s proportion in the parent mixture. Pair with units.
- property units: IngredientMeasurementUnits¶