code: def _classify_target(self, target, data):
          
          if target is None:
              return None, None
  
          if isinstance(target, basestring):
              try:
                  target = self.dependencies[target]
              except KeyError:
                  return target, target
  
          try:
              target = target._classify(data, self.dependencies)
          except AttributeError:
              pass  # Target is not a Model, no classify
          return target, target.__class__.__name__
docs: Check to see whether the deserialization target object can
          be classified into a subclass.
          Once classification has been determined, initialize object.
  
          :param str target: The target object type to deserialize to.
          :param str/dict data: The response data to deseralize.