code: def list(context, resource, **kwargs):
      
      data = utils.sanitize_kwargs(**kwargs)
      id = data.pop('id', None)
      subresource = data.pop('subresource', None)
  
      if subresource:
          uri = '%s/%s/%s/%s' % (context.dci_cs_api, resource, id, subresource)
      else:
          uri = '%s/%s' % (context.dci_cs_api, resource)
  
      return context.session.get(uri, timeout=HTTP_TIMEOUT, params=data)
docs: List all resources