docs: def to_sequence_field(cls):
      """
      Returns a callable instance that will convert a value to a Sequence.
  
      :param cls: Valid class type of the items in the Sequence.
      :return: instance of the SequenceConverter.
      """
      class SequenceConverter(object):
  
          def __init__(self, cls):
              self._cls = cls
  
          @property
          def cls(self):
              return resolve_class(self._cls)
  
          def __call__(self, values):
              values = values or []
              args = [to_model(self.cls, value) for value in values]
              return TypedSequence(cls=self.cls, args=args)
  
      return SequenceConverter(cls)