File tree Expand file tree Collapse file tree 1 file changed +0
-21
lines changed
pydantic_redis/shared/model Expand file tree Collapse file tree 1 file changed +0
-21
lines changed Original file line number Diff line number Diff line change @@ -57,32 +57,11 @@ def get_primary_key_field(cls):
5757 """Gets the protected _primary_key_field"""
5858 return cls ._primary_key_field
5959
60- #
61- # @classmethod
62- # def get_nested_model_tuple_fields(cls) -> Dict[str, Tuple[Any, ...]]:
63- # """Returns the fields that have tuples of nested models"""
64- # raise NotImplementedError("implement get_nested_model_tuple_fields first")
65- #
66- # @classmethod
67- # def get_nested_model_list_fields(cls) -> Dict[str, Type["AbstractModel"]]:
68- # """Returns the fields that have list of nested models"""
69- # raise NotImplementedError("implement get_nested_model_list_fields first")
70- #
71- # @classmethod
72- # def get_nested_model_fields(cls) -> Dict[str, Type["AbstractModel"]]:
73- # """Returns the fields that have nested models"""
74- # raise NotImplementedError("implement get_nested_model_fields first")
75-
7660 @classmethod
7761 def get_field_types (cls ) -> Dict [str , Any ]:
7862 """Returns the fields types of this model"""
7963 return cls ._field_types
8064
81- # @classmethod
82- # def get_store(cls) -> "AbstractStore":
83- # """Returns the instance of the store for this model"""
84- # raise NotImplementedError("implement get_store first")
85-
8665 @classmethod
8766 def initialize (cls ):
8867 """Initializes class-wide variables for performance's reasons e.g. it caches the nested model fields"""
You can’t perform that action at this time.
0 commit comments