Skip to content

Type errors while using Response.hits attrs #1897

Open
@realsuayip

Description

@realsuayip

Since the returned type is actually AttrList rather than plain list, accessing those attributes will result in type errors.

e.g.,

error: "List[Hit]" has no attribute "total" [attr-defined]

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions