Hello,
We are trying to fetch all locations by calling LocationsApi's get_locations method which returns LocationEntityListing.
But when we tried implementing pagination, we found that the page_count is coming None, due which we cannot iterate over all the pages.
if response.page_number >= response.page_count:
# If all pages fetched, done
break
for now we are sending warning
if response.page_count is None:
logger.warning(f"There is no page count for {type_.value} ")
break
Any help would be appreciated
Regards,
Amit K