You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you are using the rest of an ingredient package and wish to finish it, pass a finish date.
[optional]
package_id
int
Package ID of the source ingredient package To find source ingredient packages, use the Source Packages endpoint.
quantity
float
Quantity used from the ingredient package.
unit_of_measure_id
int
Unit of measure for the quantity
Example
fromt3api.models.v2_packages_create_post_request_inner_ingredients_innerimportV2PackagesCreatePostRequestInnerIngredientsInner# TODO update the JSON string belowjson="{}"# create an instance of V2PackagesCreatePostRequestInnerIngredientsInner from a JSON stringv2_packages_create_post_request_inner_ingredients_inner_instance=V2PackagesCreatePostRequestInnerIngredientsInner.from_json(json)
# print the JSON string representation of the objectprint(V2PackagesCreatePostRequestInnerIngredientsInner.to_json())
# convert the object into a dictv2_packages_create_post_request_inner_ingredients_inner_dict=v2_packages_create_post_request_inner_ingredients_inner_instance.to_dict()
# create an instance of V2PackagesCreatePostRequestInnerIngredientsInner from a dictv2_packages_create_post_request_inner_ingredients_inner_from_dict=V2PackagesCreatePostRequestInnerIngredientsInner.from_dict(v2_packages_create_post_request_inner_ingredients_inner_dict)