File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -57,7 +57,7 @@ async def get(
57
57
db : AsyncSession ,
58
58
schema_to_select : Type [BaseModel ] | None = None ,
59
59
** kwargs
60
- ) -> ModelType | None :
60
+ ) -> Row | None :
61
61
"""
62
62
Fetch a single record based on filters.
63
63
@@ -72,7 +72,7 @@ async def get(
72
72
73
73
Returns
74
74
-------
75
- ModelType | None
75
+ Row | None
76
76
The fetched database row or None if not found.
77
77
"""
78
78
to_select = _extract_matching_columns_from_schema (model = self ._model , schema = schema_to_select )
@@ -89,7 +89,7 @@ async def get_multi(
89
89
limit : int = 100 ,
90
90
schema_to_select : Type [BaseModel ] | None = None ,
91
91
** kwargs
92
- ) -> List [ModelType ]:
92
+ ) -> List [Row ]:
93
93
"""
94
94
Fetch multiple records based on filters.
95
95
@@ -108,7 +108,7 @@ async def get_multi(
108
108
109
109
Returns
110
110
-------
111
- List[ModelType ]
111
+ List[Row ]
112
112
List of fetched database rows.
113
113
"""
114
114
to_select = _extract_matching_columns_from_schema (model = self ._model , schema = schema_to_select )
You can’t perform that action at this time.
0 commit comments