diff --git a/elasticsearch_dsl/field.py b/elasticsearch_dsl/field.py index 569cf45c..3f704480 100644 --- a/elasticsearch_dsl/field.py +++ b/elasticsearch_dsl/field.py @@ -341,9 +341,9 @@ def _deserialize(self, data): class DenseVector(Float): name = "dense_vector" - def __init__(self, dims, **kwargs): + def __init__(self, **kwargs): kwargs["multi"] = True - super().__init__(dims=dims, **kwargs) + super().__init__(**kwargs) class SparseVector(Field):