@@ -172,7 +172,7 @@ async def try_get_directory(
172172TotalChildren : TypeAlias = int
173173
174174
175- class PathsCursorParameters (BaseModel ):
175+ class _PathsCursorParameters (BaseModel ):
176176 offset : int
177177 file_prefix : Path | None
178178 project_ids : list [ProjectID ] | None
@@ -185,10 +185,10 @@ def _init_pagination(
185185 filter_by_project_ids : list [ProjectID ] | None ,
186186 filter_by_file_prefix : Path | None ,
187187 is_partial_prefix : bool ,
188- ) -> PathsCursorParameters :
188+ ) -> _PathsCursorParameters :
189189 if cursor :
190- return PathsCursorParameters .model_validate_json (cursor )
191- return PathsCursorParameters (
190+ return _PathsCursorParameters .model_validate_json (cursor )
191+ return _PathsCursorParameters (
192192 offset = 0 ,
193193 file_prefix = filter_by_file_prefix ,
194194 project_ids = filter_by_project_ids ,
@@ -197,7 +197,7 @@ def _init_pagination(
197197
198198
199199def _create_next_cursor (
200- total : TotalChildren , limit : int , cursor_params : PathsCursorParameters
200+ total : TotalChildren , limit : int , cursor_params : _PathsCursorParameters
201201) -> GenericCursor | None :
202202 if cursor_params .offset + limit < total :
203203 return cursor_params .model_copy (
0 commit comments