docs: def get_serializer(
              self,
              action_kwargs: Dict=None,
              *args, **kwargs) -> Serializer:
          """
          Return the serializer instance that should be used for validating and
          deserializing input, and for serializing output.
          """
          serializer_class = self.get_serializer_class(
              **action_kwargs
          )
  
          kwargs['context'] = self.get_serializer_context(
              **action_kwargs
          )
  
          return serializer_class(*args, **kwargs)