File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -790,7 +790,7 @@ async def filters(
790790 async def process_page (page_offset : int , page_number : int ) -> tuple [dict , ProcessRelationsNode ]:
791791 """Process a single page of results."""
792792 query_data = await InfrahubNode (client = self , schema = schema , branch = branch ).generate_query_data (
793- offset = offset or page_offset ,
793+ offset = page_offset if offset is None else offset ,
794794 limit = limit or pagination_size ,
795795 filters = filters ,
796796 include = include ,
@@ -1954,7 +1954,7 @@ def filters(
19541954 def process_page (page_offset : int , page_number : int ) -> tuple [dict , ProcessRelationsNodeSync ]:
19551955 """Process a single page of results."""
19561956 query_data = InfrahubNodeSync (client = self , schema = schema , branch = branch ).generate_query_data (
1957- offset = offset or page_offset ,
1957+ offset = page_offset if offset is None else offset ,
19581958 limit = limit or pagination_size ,
19591959 filters = filters ,
19601960 include = include ,
You can’t perform that action at this time.
0 commit comments