uw_canvas/__init__.py
def _get_paged_resource(self, url, params=None, data_key=None):
        """
        Canvas GET method. Return representation of the requested paged
        resource, either the requested page, or chase pagination links to
        coalesce resources.
        """
        if not params:
            params = {}

        self._set_as_user(params)

        auto_page = not ('page' in params or 'per_page' in params)

        if 'per_page' not in params and self._per_page != DEFAULT_PAGINATION:
            params["per_page"] = self._per_page

        full_url = url + self._params(params)
        return self._get_resource_url(full_url, auto_page, data_key)
def _get_paged_resource(self, url, params=None, data_key=None):
        if not params:
            params = {}

        self._set_as_user(params)

        auto_page = not ('page' in params or 'per_page' in params)

        if 'per_page' not in params and self._per_page != DEFAULT_PAGINATION:
            params["per_page"] = self._per_page

        full_url = url + self._params(params)
        return self._get_resource_url(full_url, auto_page, data_key)
def _get_paged_resource ( self , url , params = None , data_key = None ) : if not params : params = { } self . _set_as_user ( params ) auto_page = not ( 'page' in params or 'per_page' in params ) if 'per_page' not in params and self . _per_page != DEFAULT_PAGINATION : params [ "per_page" ] = self . _per_page full_url = url + self . _params ( params ) return self . _get_resource_url ( full_url , auto_page , data_key )
Canvas GET method. Return representation of the requested paged
        resource, either the requested page, or chase pagination links to
        coalesce resources.
Canvas GET method . Return representation of the requested paged resource either the requested page or chase pagination links to coalesce resources .