🎨 [pre-commit.ci] Auto format from pre-commit.com hooks

This commit is contained in:
pre-commit-ci[bot] 2025-02-05 06:24:38 +00:00
parent 5d1bf5c2f3
commit ccbb92aeaf

View File

@ -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,