mirror of
https://github.com/creyD/creyPY.git
synced 2026-04-15 21:00:36 +02:00
Minor Changes
This commit is contained in:
@@ -9,6 +9,7 @@ from pydantic.json_schema import SkipJsonSchema
|
||||
T = TypeVar("T")
|
||||
|
||||
|
||||
# SkipJsonSchema is used to avoid generating invalid JSON schema in FastAPI
|
||||
class Page(AbstractPage[T], Generic[T]):
|
||||
results: Sequence[T]
|
||||
page: GreaterEqualOne | SkipJsonSchema[None] = None
|
||||
|
||||
Reference in New Issue
Block a user