Ingredient

The liquid as part of a mixture with the given amount.

Decorators
dataclasses.dataclass

Methods

  • __init__(self, liquid : typing.Union[Liquid, Sample], amount : Decimal) -> None

    Parameters

    • Name
      self
      Type
      Default
      Description

    • Name
      liquid
      Type
      typing.Union[Liquid, Sample]
      Default
      Description

    • Name
      amount
      Type
      Decimal
      Default
      Description

  • __str__(self) -> str

    Response

    Type
    str
    Description

Attributes

  • Name
    liquid
    Type
    typing.Union[Liquid, Sample]
    Value

    = None

    Description

  • Name
    amount
    Type
    Decimal
    Value

    = Decimal(default=0)

    Description

Copyright © 2024