Skip to content

Commit

Permalink
Bring 8.17.0 release to main
Browse files Browse the repository at this point in the history
  • Loading branch information
miguelgrinberg committed Dec 13, 2024
1 parent 5de355e commit 9f70941
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 11 deletions.
6 changes: 6 additions & 0 deletions Changelog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,12 @@
Changelog
=========

8.17.0 (2024-12-13)
-------------------

* Added support for quantized dense vector options (`#1948 <https://github.com/elastic/elasticsearch-dsl-py/pull/1948>`_)
* Added support for composable index templates (`#1943 <https://github.com/elastic/elasticsearch-dsl-py/pull/1943>`_)

8.16.0 (2024-11-13)
-------------------

Expand Down
2 changes: 1 addition & 1 deletion elasticsearch_dsl/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@
from .utils import AttrDict, AttrList, DslBase
from .wrappers import Range

VERSION = (8, 16, 0)
VERSION = (8, 17, 0)
__version__ = VERSION
__versionstr__ = ".".join(map(str, VERSION))
__all__ = [
Expand Down
13 changes: 4 additions & 9 deletions elasticsearch_dsl/types.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,16 +33,16 @@ class AggregationRange(AttrDict[Any]):
:arg to: End of the range (exclusive).
"""

from_: Union[float, DefaultType]
from_: Union[float, None, DefaultType]
key: Union[str, DefaultType]
to: Union[float, DefaultType]
to: Union[float, None, DefaultType]

def __init__(
self,
*,
from_: Union[float, DefaultType] = DEFAULT,
from_: Union[float, None, DefaultType] = DEFAULT,
key: Union[str, DefaultType] = DEFAULT,
to: Union[float, DefaultType] = DEFAULT,
to: Union[float, None, DefaultType] = DEFAULT,
**kwargs: Any,
):
if from_ is not DEFAULT:
Expand Down Expand Up @@ -1226,7 +1226,6 @@ class HighlightField(AttrDict[Any]):
"""
:arg fragment_offset:
:arg matched_fields:
:arg analyzer:
:arg type:
:arg boundary_chars: A string that contains each boundary character.
Defaults to `.,!? \t\n` if omitted.
Expand Down Expand Up @@ -1300,7 +1299,6 @@ class HighlightField(AttrDict[Any]):
Sequence[Union[str, InstrumentedField]],
DefaultType,
]
analyzer: Union[str, Dict[str, Any], DefaultType]
type: Union[Literal["plain", "fvh", "unified"], DefaultType]
boundary_chars: Union[str, DefaultType]
boundary_max_scan: Union[int, DefaultType]
Expand Down Expand Up @@ -1332,7 +1330,6 @@ def __init__(
Sequence[Union[str, InstrumentedField]],
DefaultType,
] = DEFAULT,
analyzer: Union[str, Dict[str, Any], DefaultType] = DEFAULT,
type: Union[Literal["plain", "fvh", "unified"], DefaultType] = DEFAULT,
boundary_chars: Union[str, DefaultType] = DEFAULT,
boundary_max_scan: Union[int, DefaultType] = DEFAULT,
Expand Down Expand Up @@ -1362,8 +1359,6 @@ def __init__(
kwargs["fragment_offset"] = fragment_offset
if matched_fields is not DEFAULT:
kwargs["matched_fields"] = str(matched_fields)
if analyzer is not DEFAULT:
kwargs["analyzer"] = analyzer
if type is not DEFAULT:
kwargs["type"] = type
if boundary_chars is not DEFAULT:
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

from setuptools import find_packages, setup

VERSION = (8, 16, 0)
VERSION = (8, 17, 0)
__version__ = VERSION
__versionstr__ = ".".join(map(str, VERSION))

Expand Down

0 comments on commit 9f70941

Please sign in to comment.