Skip to content

Commit

Permalink
fix!: Remove chara_data_is_public field
Browse files Browse the repository at this point in the history
  • Loading branch information
seriaati committed Sep 10, 2024
1 parent 7a68b22 commit 04a9c0f
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions enka/models/hsr/player.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ class Player(BaseModel):
equilibrium_level (int): The player's equilibrium level.
friend_count (int): The number of friends the player has.
stats (:class:`PlayerStats`): The player's statistics.
chara_data_is_public (bool): Whether the player's character data is public.
"""

nickname: str
Expand All @@ -48,7 +47,6 @@ class Player(BaseModel):
equilibrium_level: int = Field(0, alias="worldLevel")
friend_count: int = Field(0, alias="friendCount")
stats: PlayerStats = Field(alias="recordInfo")
chara_data_is_public: bool = Field(alias="isDisplayAvatar")

# The following fields are added in post-processing
icon: str = Field(None, alias="headIcon")
Expand Down

0 comments on commit 04a9c0f

Please sign in to comment.