Skip to content

Commit

Permalink
refactor: simplify uuid field
Browse files Browse the repository at this point in the history
  • Loading branch information
staciax committed Dec 31, 2024
1 parent 9791199 commit a18723c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion valorant/models/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ def __repr__(self) -> str:


class BaseUUIDModel(BaseModel):
uuid: UUID = Field(alias='uuid')
uuid: UUID

def __eq__(self, other: object) -> bool:
return isinstance(other, self.__class__) and self.uuid == other.uuid
Expand Down

0 comments on commit a18723c

Please sign in to comment.