We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Response.hits
Since the returned type is actually AttrList rather than plain list, accessing those attributes will result in type errors.
AttrList
elasticsearch-dsl-py/elasticsearch_dsl/response/__init__.py
Line 93 in 318ea9a
e.g.,
error: "List[Hit]" has no attribute "total" [attr-defined]