From 6520f4f2b91ffb12530b9cd493d7346825b42970 Mon Sep 17 00:00:00 2001 From: SeaswimmerTheFsh Date: Sat, 4 May 2024 18:22:42 -0400 Subject: [PATCH] fix(aurora): don't inherit from AuroraBaseModel --- aurora/models.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/aurora/models.py b/aurora/models.py index f0b8590..c90d674 100644 --- a/aurora/models.py +++ b/aurora/models.py @@ -16,8 +16,9 @@ class AuroraBaseModel(BaseModel): from aurora.utilities.json import dump, dumps return dump(self.model_dump(exclude={"bot"}), file, indent=indent, **kwargs) if file else dumps(self.model_dump(exclude={"bot"}), indent=indent, **kwargs) -class AuroraGuildModel(AuroraBaseModel): - """Subclass of AuroraBaseModel that includes a guild_id attribute, and a modified to_json() method to match.""" +class AuroraGuildModel(BaseModel): + """Base class that includes a guild_id attribute, and a modified to_json() method to match.""" + bot: ClassVar[Red] guild_id: int def to_json(self, indent: int = None, file: Any = None, **kwargs):