Skip to content

Possible typo in documentation, Python driver example code #1091

@danielostling

Description

@danielostling

Bug Report

Looking at the example at https://neo4j.com/docs/api/python-driver/current/api.html#session-construction it seems like the statement

with GraphDatabase(uri, auth=(user, password)) as driver:

should be

with GraphDatabase.driver(uri, auth=(user, password)) as driver:

My Environment

Python Version:
Driver Version:
Server Version and Edition:
Operating System:

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions