benchling_api_client.api.mixtures.create_mixture module

async asyncio(*, client: Client, json_body: MixtureCreate) Optional[Union[Mixture, BadRequestError]]

Create a mixture. To create a new child mixture (eg. a prep) from a parent mixture (eg. a recipe), set the parent mixture field and specify the desired final state for your ingredients. 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.

async asyncio_detailed(*, client: Client, json_body: MixtureCreate) Response[Optional[Union[Mixture, BadRequestError]]]
sync(*, client: Client, json_body: MixtureCreate) Optional[Union[Mixture, BadRequestError]]

Create a mixture. To create a new child mixture (eg. a prep) from a parent mixture (eg. a recipe), set the parent mixture field and specify the desired final state for your ingredients. 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.

sync_detailed(*, client: Client, json_body: MixtureCreate) Response[Optional[Union[Mixture, BadRequestError]]]