SliceMetadata
Constructor:
Signature:
def __init__(self, start: int, end: int, expected: int | None) -> None: ...
Parameters:
-
start:
- Type
-
int
-
end:
- Type
-
int
-
expected:
- Type
-
int | None
Methods:
-
from_arguments
Get the slice metadata to use on ListConnection.
Signature:
def from_arguments(cls,info: Info,before: str | None = None,after: str | None = None,first: int | None = None,last: int | None = None,) -> Self:...Parameters:
-
info:
- Type
-
Info
-
before:
- Type
-
str | None
- Default
-
None
-
after:
- Type
-
str | None
- Default
-
None
-
first:
- Type
-
int | None
- Default
-
None
-
last:
- Type
-
int | None
- Default
-
None
-
Attributes:
-
start:
- Type
-
int
-
end:
- Type
-
int
-
expected:
- Type
-
int | None
-
overfetch:
- Type
-
int