We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5b21399 commit be38819Copy full SHA for be38819
ninja_extra/schemas/response.py
@@ -46,7 +46,7 @@ class NinjaPaginationResponseSchema(
46
@validator("items", pre=True)
47
def validate_items(cls, value: Any) -> Any:
48
if value is not None and not isinstance(value, list):
49
- return list(value)
+ value = list(value)
50
return value
51
52
NinjaPaginationResponseSchema.__generic_model__ = ( # type:ignore[attr-defined]
0 commit comments