Skip to content

Wrong information on docs for UpdateByQueryResponse #1406

@esquioga

Description

@esquioga

Docs for UpdateByQuery shows that is possible to check the response status with response.success()

response = ubq.execute()

print(response.success())
# True

print(response.took)
# 12

But when trying to reproduce it raises the following error:
AttributeError: 'UpdateByQueryResponse' object has no attribute 'success'

doc page

Version used: 7.2.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions