Module Assign NameStore Num ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam defaults Num NameLoad body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr IfExp NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr Num Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Return AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body Return CompareGt AttributeLoad NameLoad attr Num decorator_list NameLoad FunctionDef arguments args NameParam defaults body If CompareEq AttributeLoad NameLoad attr Num body Return Num If CompareEq AttributeLoad NameLoad attr Num body Return AttributeLoad NameLoad attr Return BinOpAdd BinOpMult BinOpSub AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr Num decorator_list NameLoad FunctionDef arguments args NameParam defaults body If CompareEq AttributeLoad NameLoad attr Num body Return AttributeLoad NameLoad attr If CompareEq AttributeLoad NameLoad attr Num body Return IfExp CompareLt AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore BinOpMult AttributeLoad NameLoad attr AttributeLoad NameLoad attr Return IfExp CompareLt NameLoad AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body Return AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body Return BinOpSub AttributeLoad NameLoad attr Num decorator_list NameLoad FunctionDef arguments args NameParam defaults body Return BinOpAdd AttributeLoad NameLoad attr Num decorator_list NameLoad FunctionDef arguments args NameParam defaults body Return CompareLt AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body Return CompareGtE BinOpSub AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num decorator_list NameLoad FunctionDef arguments args NameParam defaults body Return ListComp NameLoad comprehension NameStore Call NameLoad Num BinOpAdd AttributeLoad NameLoad attr Num decorator_list NameLoad FunctionDef arguments args NameParam defaults body If CompareLtE AttributeLoad NameLoad attr Num body Return Num If CompareLtE AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Return Num Assign NameStore BinOpDiv AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad Return IfExp CompareGt NameLoad NameLoad BinOpAdd NameLoad Num NameLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults body Return AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body If CompareGt AttributeLoad NameLoad attr Num body Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpSub AttributeLoad NameLoad attr Num If AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr decorator_list decorator_list
N/A N/A DEFAULT_LIMIT 10 Paginator N/A object N/A N/A  Provides pagination on a Cursor object

    Keyword arguments:
    cursor -- Cursor of a returned query
    page   -- The page number requested
    limit  -- The number of items per page

    Properties:
    items        -- Returns the paginated Cursor object
    is_paginated -- Boolean value determining if the cursor has multiple pages
    start_index  -- int index of the first item on the requested page
    end_index    -- int index of the last item on the requested page
    current_page -- int page number of the requested page
    previous_page-- int page number of the previous page w.r.t. current requested page
    next_page    -- int page number of the next page w.r.t. current requested page
    has_next     -- True or False if the Cursor has a next page
    has_previous -- True or False if the Cursor has a previous page
    page_range   -- list of page numbers
    num_pages    -- int of the number of pages
    count        -- int total number of items on the cursor
     __init__ N/A N/A self cursor page limit N/A 1 DEFAULT_LIMIT N/A N/A N/A self _cursor cursor N/A N/A self _count N/A cursor N/A N/A N/A self _cursor count 0 N/A N/A self _limit limit N/A N/A self _page N/A int page N/A N/A N/A self _set_page N/A self _page N/A items N/A N/A self N/A N/A N/A N/A self _cursor N/A property is_paginated N/A N/A self N/A N/A N/A N/A N/A self num_pages 1 N/A property start_index N/A N/A self N/A N/A N/A N/A N/A self _page 1 N/A N/A 1 N/A N/A N/A self _limit 1 N/A N/A N/A self _page N/A N/A N/A N/A N/A self _page 1 N/A self _limit 1 N/A property end_index N/A N/A self N/A N/A N/A N/A N/A self _limit 1 N/A N/A N/A self _page N/A N/A N/A self _page 1 N/A N/A N/A N/A N/A self _count N/A self _limit N/A self _count N/A self _limit N/A calc_end N/A N/A self _page N/A self _limit N/A N/A N/A calc_end N/A self _count calc_end N/A self _count N/A property current_page N/A N/A self N/A N/A N/A N/A self _page N/A property previous_page N/A N/A self N/A N/A N/A N/A N/A self _page 1 N/A property next_page N/A N/A self N/A N/A N/A N/A N/A self _page 1 N/A property has_next N/A N/A self N/A N/A N/A N/A N/A self end_index N/A self _count N/A property has_previous N/A N/A self N/A N/A N/A N/A N/A N/A self start_index N/A self _limit 0 N/A property page_range N/A N/A self N/A N/A N/A N/A p N/A p N/A xrange 1 N/A N/A self num_pages 1 N/A property num_pages N/A N/A self N/A N/A N/A N/A N/A self _count 0 N/A N/A 0 N/A N/A N/A self _count N/A self _limit N/A N/A 1 N/A pages_f N/A N/A self _count N/A float N/A self _limit N/A pages_i N/A int pages_f N/A N/A N/A pages_f pages_i N/A pages_i 1 pages_i N/A property count N/A N/A self N/A N/A N/A N/A self _count N/A property _set_page N/A N/A self _ N/A N/A N/A N/A N/A self _page 1 N/A N/A N/A N/A N/A self _cursor skip N/A N/A self start_index 1 N/A N/A self _cursor N/A N/A N/A N/A N/A self _cursor limit N/A self _limit N/A N/A