uw_canvas/__init__.py
def _get_resource(self, url, params=None, data_key=None):
        """
        Canvas GET method. Return representation of the requested resource.
        """
        if not params:
            params = {}

        self._set_as_user(params)

        full_url = url + self._params(params)

        return self._get_resource_url(full_url, True, data_key)
def _get_resource(self, url, params=None, data_key=None):
        if not params:
            params = {}

        self._set_as_user(params)

        full_url = url + self._params(params)

        return self._get_resource_url(full_url, True, data_key)
def _get_resource ( self , url , params = None , data_key = None ) : if not params : params = { } self . _set_as_user ( params ) full_url = url + self . _params ( params ) return self . _get_resource_url ( full_url , True , data_key )
Canvas GET method. Return representation of the requested resource.
Canvas GET method . Return representation of the requested resource .