Skip to content

Guides Models

guides

Classes:

  • AvailableItems –

    Container for available characters, weapons, and artifacts referenced in guides.

  • AzaBestArtifact –

    Represents an artifact piece within a best artifact set from genshin.aza.gg.

  • AzaBestArtifactSets –

    Represents a ranked artifact set combination from genshin.aza.gg.

  • AzaBestItem –

    Represents a best-ranked item (character or weapon) from genshin.aza.gg.

  • AzaData –

    Container for all genshin.aza.gg guide data for a character.

  • CharacterGuide –

    Represents the complete guide data for a character, combining multiple sources.

  • GWBuild –

    Represents a complete build recommendation from Genshin Wizard.

  • GWBuildInfo –

    Represents a specific piece of information within a Genshin Wizard build section.

  • GWBuildInfoNormalArtifact –

    Represents a standard artifact reference in a Genshin Wizard build.

  • GWData –

    Container for all Genshin Wizard guide data for a character.

  • GWPlaystyle –

    Represents playstyle information from Genshin Wizard.

  • GWSynergy –

    Represents synergy and team composition information from Genshin Wizard.

  • GWSynergyElementCharacter –

    Represents a character slot recommendation based on element in a Genshin Wizard synergy team.

  • GWSynergyFlexibleCharacter –

    Represents a flexible character slot in a Genshin Wizard synergy team.

  • GWSynergyInfo –

    Represents a piece of textual information related to Genshin Wizard synergies.

  • GWSynergyNormalCharacter –

    Represents a specific character recommendation in a Genshin Wizard synergy team.

  • GuideArtifact –

    Represents an artifact within a guide context.

  • GuideCharacter –

    Represents a character within a guide context.

  • GuideWeapon –

    Represents a weapon within a guide context.

  • GwBuildInfoCustomArtifact –

    Represents a custom artifact reference in a Genshin Wizard build.

AvailableItems pydantic-model

Container for available characters, weapons, and artifacts referenced in guides.

Attributes:

Fields:

artifacts pydantic-field

artifacts: dict[str, GuideArtifact]

characters pydantic-field

characters: dict[str, GuideCharacter]

weapons pydantic-field

weapons: dict[str, GuideWeapon]

AzaBestArtifact pydantic-model

Represents an artifact piece within a best artifact set from genshin.aza.gg.

Attributes:

  • id (int) –

    The artifact set ID.

  • num (int) –

    The number of pieces recommended from this set (e.g., 2 or 4).

Fields:

id pydantic-field

id: int

num pydantic-field

num: int

AzaBestArtifactSets pydantic-model

Represents a ranked artifact set combination from genshin.aza.gg.

Attributes:

  • sets (list[AzaBestArtifact]) –

    A list describing the combination of artifact sets (AzaBestArtifact).

  • value (float) –

    A numerical value representing the ranking or usage rate of this combination.

Fields:

Validators:

  • __transform_sets → sets

percentage property

percentage: str

Formats the value as a percentage string (e.g., "72.1%").

sets pydantic-field

value pydantic-field

value: float

AzaBestItem pydantic-model

Represents a best-ranked item (character or weapon) from genshin.aza.gg.

Attributes:

  • id (int) –

    The ID of the item (character or weapon).

  • value (float) –

    A numerical value representing the ranking or usage rate.

Fields:

id pydantic-field

id: int

percentage property

percentage: str

Formats the value as a percentage string (e.g., "85.3%").

value pydantic-field

value: float

AzaData pydantic-model

Container for all genshin.aza.gg guide data for a character.

Attributes:

Fields:

best_artifact_sets pydantic-field

best_artifact_sets: list[AzaBestArtifactSets]

best_characters pydantic-field

best_characters: dict[str, AzaBestItem]

best_weapons pydantic-field

best_weapons: dict[str, AzaBestItem]

constellation_usage pydantic-field

constellation_usage: dict[str, float]

CharacterGuide pydantic-model

Represents the complete guide data for a character, combining multiple sources.

Attributes:

Fields:

available_items pydantic-field

available_items: AvailableItems

aza_data pydantic-field

aza_data: AzaData | None = None

genshin.aza.gg data.

gw_data pydantic-field

gw_data: GWData | None = None

Genshin Wizard data.

GWBuild pydantic-model

Represents a complete build recommendation from Genshin Wizard.

Attributes:

  • title (str) –

    The title of the build (e.g., "Support Build").

  • credits (str) –

    Attribution for the build information.

  • info (list[GWBuildInfo]) –

    A list of detailed information sections (GWBuildInfo) for the build.

Fields:

credits pydantic-field

credits: str

info pydantic-field

title pydantic-field

title: str

GWBuildInfo pydantic-model

Represents a specific piece of information within a Genshin Wizard build section.

Attributes:

Fields:

artifacts pydantic-field

inline pydantic-field

inline: bool

name pydantic-field

name: str

value pydantic-field

value: str | None = None

weapons pydantic-field

weapons: dict[int, str] | None = None

Weapon ID to weapon name.

GWBuildInfoNormalArtifact pydantic-model

Represents a standard artifact reference in a Genshin Wizard build.

Attributes:

  • id (int) –

    The artifact set ID.

  • type (Literal['normal']) –

    Always "normal".

Fields:

id pydantic-field

id: int

type pydantic-field

type: Literal['normal']

GWData pydantic-model

Container for all Genshin Wizard guide data for a character.

Attributes:

Fields:

builds pydantic-field

builds: list[GWBuild]

playstyle pydantic-field

playstyle: GWPlaystyle | None = None

synergies pydantic-field

synergies: GWSynergy

GWPlaystyle pydantic-model

Represents playstyle information from Genshin Wizard.

Attributes:

  • title (str) –

    The title of the playstyle section.

  • description (str) –

    The detailed description of the playstyle.

  • credits (str) –

    Attribution for the playstyle information.

Fields:

credits pydantic-field

credits: str

description pydantic-field

description: str

title pydantic-field

title: str

GWSynergy pydantic-model

Represents synergy and team composition information from Genshin Wizard.

Attributes:

Fields:

Validators:

  • __remove_null_characters → teams

credits pydantic-field

credits: str

info pydantic-field

info: list[GWSynergyInfo] | None = None

title pydantic-field

title: str

GWSynergyElementCharacter pydantic-model

Represents a character slot recommendation based on element in a Genshin Wizard synergy team.

Attributes:

Fields:

element pydantic-field

element: Element

type pydantic-field

type: Literal['element']

GWSynergyFlexibleCharacter pydantic-model

Represents a flexible character slot in a Genshin Wizard synergy team.

Attributes:

Fields:

type pydantic-field

type: Literal['flexible']

GWSynergyInfo pydantic-model

Represents a piece of textual information related to Genshin Wizard synergies.

Attributes:

  • inline (bool) –

    Whether the information should be displayed inline.

  • name (str) –

    The name or label for this piece of information.

  • value (str) –

    The textual value associated with the name.

Fields:

inline pydantic-field

inline: bool

name pydantic-field

name: str

value pydantic-field

value: str

GWSynergyNormalCharacter pydantic-model

Represents a specific character recommendation in a Genshin Wizard synergy team.

Attributes:

  • id (str | int) –

    The character's ID (can be string or int).

  • type (Literal['normal']) –

    Always "normal".

Fields:

id pydantic-field

id: str | int

type pydantic-field

type: Literal['normal']

GuideArtifact pydantic-model

Represents an artifact within a guide context.

Attributes:

  • id (int) –

    The artifact set's ID.

  • icon (str) –

    The icon URL (likely for one piece of the set).

  • rarities (list[int]) –

    A list of possible rarity levels for the artifact set.

  • route (str) –

    The route identifier for the artifact set.

Fields:

icon pydantic-field

icon: str

id pydantic-field

id: int

rarities pydantic-field

rarities: list[int]

route pydantic-field

route: str

GuideCharacter pydantic-model

Represents a character within a guide context.

Attributes:

  • id (str | int) –

    The character's ID (can be string or int).

  • rarity (Literal[4, 5]) –

    The character's rarity (4 or 5 star).

  • weapon_type (WeaponType) –

    The type of weapon the character uses.

  • icon (str) –

    The character's icon URL.

  • route (str) –

    The route identifier for the character.

Fields:

icon pydantic-field

icon: str

id pydantic-field

id: str | int

rarity pydantic-field

rarity: Literal[4, 5]

route pydantic-field

route: str

weapon_type pydantic-field

weapon_type: WeaponType

GuideWeapon pydantic-model

Represents a weapon within a guide context.

Attributes:

  • id (int) –

    The weapon's ID.

  • rarity (Literal[1, 2, 3, 4, 5]) –

    The weapon's rarity (1 to 5 star).

  • type (WeaponType) –

    The type of the weapon.

  • icon (str) –

    The weapon's icon URL.

  • route (str) –

    The route identifier for the weapon.

Fields:

icon pydantic-field

icon: str

id pydantic-field

id: int

rarity pydantic-field

rarity: Literal[1, 2, 3, 4, 5]

route pydantic-field

route: str

type pydantic-field

type: WeaponType

GwBuildInfoCustomArtifact pydantic-model

Represents a custom artifact reference in a Genshin Wizard build.

Attributes:

  • id (str) –

    A custom identifier string for the artifact.

  • type (Literal['custom']) –

    Always "custom".

Fields:

id pydantic-field

id: str

type pydantic-field

type: Literal['custom']