      operations.
      """
      def __init__(self, default):
          self.default = default
  
      def __call__(self, serializer_field):
          is_update = serializer_field.parent.instance is not None
          if is_update:
 
</s> remove     def set_context(self, serializer_field):
        self.is_update = serializer_field.parent.instance is not None
        if callable(self.default) and hasattr(self.default, 'set_context') and not self.is_update:
            self.default.set_context(serializer_field)

    def __call__(self):
        if self.is_update:
 </s> add     def __call__(self, serializer_field):
        is_update = serializer_field.parent.instance is not None
        if is_update: </s> remove     def __call__(self, value):
 </s> add     def __call__(self, value, serializer_field):
        # Determine the underlying model field name. This may not be the
        # same as the serializer field name if `source=<>` is set.
        field_name = serializer_field.source_attrs[-1]
        # Determine the existing instance, if this is an update operation.
        instance = getattr(serializer_field.parent, 'instance', None)
 </s> remove     def __call__(self):
        return self.user
 </s> add     def __call__(self, serializer_field):
        return serializer_field.context['request'].user </s> remove     def set_context(self, serializer_field):
        """
        This hook is called by the serializer instance,
        prior to the validation call being made.
        """
        # Determine the underlying model field name. This may not be the
        # same as the serializer field name if `source=<>` is set.
        self.field_name = serializer_field.source_attrs[-1]
        # Determine the existing instance, if this is an update operation.
        self.instance = getattr(serializer_field.parent, 'instance', None)

    def filter_queryset(self, value, queryset):
 </s> add     def filter_queryset(self, value, queryset, field_name):
    requires_context = True

      operations.
      """
    requires_context = True

      def __init__(self, default):
          self.default = default
  
      def __call__(self, serializer_field):
          is_update = serializer_field.parent.instance is not None
          if is_update:
keep add keep keep keep keep keep keep
 Drop `set_context()` (#7062)

* Do not persist the context in validators

Fixes encode/django-rest-framework#5760

* Drop set_context() in favour of 'requires_context = True' 
rest_framework/fields.py