Skip to content

Result.data() Attribute Error #407

@subssn21

Description

@subssn21

Neo4j version: Aura
Driver version: 4.0.0b2
Operating system: MacOSx Catalina / AWS Ubuntu 18.04
When upgrading code from 1.7.6 driver to 4.0.0b2 driver calls to reults.data() fails with AttributeError, looking at the code there is no longer a Result.data() method. This is not documented in breaking changes. It is not in the documentation anymore, so it's probably just not documented as a breaking change.
.data() calls and returns the results (as if you had done [rec for rec in results] list comprehensions on the result object)
Actual behavior
AttributeError

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