Skip to content

Equipment

pydatalab.models.equipment

Equipment (Item) pydantic-model

A model for representing an experimental sample.

Source code in pydatalab/models/equipment.py
class Equipment(Item):
    """A model for representing an experimental sample."""

    type: str = Field("equipment", const="equipment", pattern="^equipment$")

    serial_numbers: Optional[str]
    """A string describing one or more serial numbers for the instrument."""

    manufacturer: Optional[str]
    """The manufacturer of this piece of equipment"""

    location: Optional[str]
    """Place where the equipment is located"""

    contact: Optional[str]
    """Contact information for equipment (e.g., email address or phone number)."""

__slots__ special

serial_numbers: str pydantic-field

manufacturer: str pydantic-field

location: str pydantic-field

contact: str pydantic-field