Closed
Description
Hello,
some of my existing code breaks when upgrading from v8.14.0 to v8.15.0 as follows:
self = elasticsearch_dsl.utils.AttrDict[typing.Any], attr = 'doc_count'
def __getattr__(self, attr):
if attr in {'__name__', '__qualname__'}:
return self._name or self.__origin__.__name__
# We are careful for copy and pickle.
# Also for simplicity we don't relay any dunder names
if '__origin__' in self.__dict__ and not _is_dunder(attr):
> return getattr(self.__origin__, attr)
E AttributeError: type object 'AttrDict' has no attribute 'doc_count'
/usr/lib/python3.12/typing.py:1185: AttributeError
Greetings,
jgb
Metadata
Metadata
Assignees
Labels
No labels