benchling_api_client.models.mixture module

class Mixture

Bases: object

__init__(aliases: Union[benchling_api_client.types.Unset, List[str]] = attr_dict['_aliases'].default, allow_measured_ingredients: Union[benchling_api_client.types.Unset, bool] = attr_dict['_allow_measured_ingredients'].default, amount: Union[benchling_api_client.types.Unset, str] = attr_dict['_amount'].default, api_url: Union[benchling_api_client.types.Unset, str] = attr_dict['_api_url'].default, archive_record: Union[benchling_api_client.types.Unset, None, ArchiveRecord] = attr_dict['_archive_record'].default, authors: Union[benchling_api_client.types.Unset, List[UserSummary]] = attr_dict['_authors'].default, created_at: Union[benchling_api_client.types.Unset, datetime] = attr_dict['_created_at'].default, creator: Union[benchling_api_client.types.Unset, MixtureCreator] = attr_dict['_creator'].default, custom_fields: Union[benchling_api_client.types.Unset, CustomFields] = attr_dict['_custom_fields'].default, entity_registry_id: Union[benchling_api_client.types.Unset, None, 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, None, str] = attr_dict['_folder_id'].default, id: Union[benchling_api_client.types.Unset, str] = attr_dict['_id'].default, ingredients: Union[benchling_api_client.types.Unset, List[Ingredient]] = attr_dict['_ingredients'].default, modified_at: Union[benchling_api_client.types.Unset, datetime] = attr_dict['_modified_at'].default, name: Union[benchling_api_client.types.Unset, str] = attr_dict['_name'].default, registration_origin: Union[benchling_api_client.types.Unset, None, RegistrationOrigin] = attr_dict['_registration_origin'].default, registry_id: Union[benchling_api_client.types.Unset, None, str] = attr_dict['_registry_id'].default, schema: Union[benchling_api_client.types.Unset, SchemaSummary] = attr_dict['_schema'].default, units: Union[benchling_api_client.types.Unset, MixtureMeasurementUnits] = attr_dict['_units'].default, web_url: Union[benchling_api_client.types.Unset, str] = attr_dict['_web_url'].default) None

Method generated by attrs for class Mixture.

property additional_keys: List[str]
additional_properties: Dict[str, Any]
property aliases: List[str]
property allow_measured_ingredients: bool

Derived from the mixture’s schema.

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 api_url: str

The canonical url of the Mixture in the API.

property archive_record: Optional[ArchiveRecord]
property authors: List[UserSummary]
property created_at: datetime
property creator: MixtureCreator
property custom_fields: CustomFields
property entity_registry_id: Optional[str]
property fields: Fields
property folder_id: Optional[str]
classmethod from_dict(src_dict: Dict[str, Any]) benchling_api_client.models.mixture.T
get(key, default=None) Optional[Any]
property id: str
property ingredients: List[Ingredient]

List of ingredients on this mixture.

property modified_at: datetime
property name: str
property registration_origin: Optional[RegistrationOrigin]
property registry_id: Optional[str]
property schema: SchemaSummary
to_dict() Dict[str, Any]
property units: MixtureMeasurementUnits
property web_url: str