Skip to content

Commit be38819

Browse files
committed
fixing mypy
1 parent 5b21399 commit be38819

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ninja_extra/schemas/response.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ class NinjaPaginationResponseSchema(
4646
@validator("items", pre=True)
4747
def validate_items(cls, value: Any) -> Any:
4848
if value is not None and not isinstance(value, list):
49-
return list(value)
49+
value = list(value)
5050
return value
5151

5252
NinjaPaginationResponseSchema.__generic_model__ = ( # type:ignore[attr-defined]

0 commit comments

Comments
 (0)