def _get_offset_param(params):
 offset = params.pop('offset', 0)
 return utils.validate_integer(offset, 'offset', 0, constants.DB_MAX_INT)

def _get_offset_param ( params ) : offset = params . pop ( 'offset' , 0 ) return utils . validate_integer ( offset , 'offset' , 0 , constants . DB_MAX_INT )
extract offset id from requests dictionary or fail .