def get_offset(self, request):
        try:
            return _positive_int(
                request.query_params[self.offset_query_param],
            )
        except (__HOLE__, ValueError):
            return 0
dataset/ETHPy150Open tomchristie/django-rest-framework/rest_framework/pagination.py/LimitOffsetPagination.get_offset