code: def to_foreign(self, obj, name, value):
  		
  		
  		if isinstance(value, Iterable) and not isinstance(value, Mapping):
  			return self.List(super(Array, self).to_foreign(obj, name, i) for i in value)
  		
  		return super(Array, self).to_foreign(obj, name, value)
docs: Transform to a MongoDB-safe value.