From ccbb92aeafe601cd6d3366afa690af568ccee064 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Wed, 5 Feb 2025 06:24:38 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=8E=A8=20[pre-commit.ci]=20Auto=20format?= =?UTF-8?q?=20from=20pre-commit.com=20hooks?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sqlmodel/main.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/sqlmodel/main.py b/sqlmodel/main.py index e0e1cc7..69a39f4 100644 --- a/sqlmodel/main.py +++ b/sqlmodel/main.py @@ -551,9 +551,7 @@ class SQLModelMetaclass(ModelMetaclass, DeclarativeMeta): base_annotations.update(dict_used["__annotations__"]) dict_used["__annotations__"] = base_annotations base_fields.update(dict_used) - new_cls = super().__new__( - cls, name, bases, base_fields, **config_kwargs - ) + new_cls = super().__new__(cls, name, bases, base_fields, **config_kwargs) new_cls.__annotations__ = { **relationship_annotations, **pydantic_annotations,