code: def get_serializer(self, *args, **kwargs):
          
          init_args = {
              k: v for k, v in six.iteritems(self.kwargs)
              if k in self.SERIALIZER_KWARGS
          }
  
          kwargs = self._inherit_parent_kwargs(kwargs)
          init_args.update(kwargs)
  
          if self.embed and self._is_dynamic:
              init_args['embed'] = True
  
          return self._get_cached_serializer(args, init_args)
docs: Get an instance of the child serializer.