Skip to content

Item

py_unite_db.models.Item

Bases: BaseModel

Parent class for Battle and Held items.

See here for a list of all items on the unite-db website.

Source code in py_unite_db/models/item.py
 7
 8
 9
10
11
12
13
14
15
16
17
class Item(BaseModel):
    """Parent class for Battle and Held items.

    See [here](https://unite-db.com/items) for a list of all items on
    the unite-db website.
    """

    name: str = Field(..., description="Name of this item.")
    display_name: str = Field(..., description="Display name of this item.")
    tier: Tier = Field(..., description="What tier unite-db consider this item to be.")
    description: str = Field(..., description="Description of this item.")

description: str = Field(..., description='Description of this item.') class-attribute instance-attribute

display_name: str = Field(..., description='Display name of this item.') class-attribute instance-attribute

name: str = Field(..., description='Name of this item.') class-attribute instance-attribute

tier: Tier = Field(..., description='What tier unite-db consider this item to be.') class-attribute instance-attribute