From a18723c96f592d31accd97b2743eec449c0f5a80 Mon Sep 17 00:00:00 2001 From: STACiA <69411527+staciax@users.noreply.github.com> Date: Tue, 31 Dec 2024 21:39:47 +0700 Subject: [PATCH] refactor: simplify uuid field --- valorant/models/base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/valorant/models/base.py b/valorant/models/base.py index 49b0de5..8545c36 100644 --- a/valorant/models/base.py +++ b/valorant/models/base.py @@ -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