code: def get(self, request, **resources):
          
  
          instance = resources.get(self._meta.name)
          if not instance is None:
              return instance
  
          return self.paginate(
              request, self.get_collection(request, **resources))
docs: Default GET method. Return instance (collection) by model.
  
          :return object: instance or collection from self model