Skip to content

Commit a6709c8

Browse files
committed
🐛 fix typing
1 parent 9950045 commit a6709c8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

fastapi_crudrouter/core/ormar.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,15 +66,15 @@ def __init__(
6666

6767
self._INTEGRITY_ERROR = self._get_integrity_error_type()
6868

69-
def _get_all(self, *args: Any, **kwargs: Any) -> CALLABLE_LIST: # type: ignore
69+
def _get_all(self, *args: Any, **kwargs: Any) -> CALLABLE_LIST:
7070
async def route(
7171
pagination: PAGINATION = self.pagination,
7272
) -> List[Optional[Model]]:
7373
skip, limit = pagination.get("skip"), pagination.get("limit")
7474
query = self.schema.objects.offset(cast(int, skip))
7575
if limit:
7676
query = query.limit(limit)
77-
return await query.all()
77+
return await query.all() # type: ignore
7878

7979
return route
8080

0 commit comments

Comments
 (0)