Skip to content

Commit 7aebcc9

Browse files
committed
remove class_registry
1 parent b511af0 commit 7aebcc9

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

sqlmodel/main.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
import builtins
44
import ipaddress
55
import uuid
6-
import weakref
76
from collections.abc import Callable, Mapping, Sequence, Set
87
from dataclasses import dataclass
98
from datetime import date, datetime, time, timedelta
@@ -797,8 +796,6 @@ def get_column_from_field(field: Any) -> Column:
797796
return Column(sa_type, *args, **kwargs)
798797

799798

800-
class_registry = weakref.WeakValueDictionary()
801-
802799
default_registry = registry()
803800

804801
_TSQLModel = TypeVar("_TSQLModel", bound="SQLModel")

0 commit comments

Comments
 (0)