From 52623fe8ae277519e8b628b2932bc3c8a2077b01 Mon Sep 17 00:00:00 2001 From: Rouven Bauer Date: Thu, 9 Sep 2021 14:37:14 +0200 Subject: [PATCH] Remove deleted method `sync` from docs --- docs/source/transactions.rst | 4 ---- neo4j/work/transaction.py | 4 ---- 2 files changed, 8 deletions(-) diff --git a/docs/source/transactions.rst b/docs/source/transactions.rst index 49114dce..93dc3510 100644 --- a/docs/source/transactions.rst +++ b/docs/source/transactions.rst @@ -33,8 +33,6 @@ To construct a :class:`.Session` use the :meth:`.Driver.session` method. .. automethod:: run - .. automethod:: sync - .. automethod:: detach .. automethod:: next_bookmarks @@ -79,8 +77,6 @@ It also gives applications the ability to directly control `commit` and `rollbac .. automethod:: run - .. automethod:: sync - .. automethod:: closed .. automethod:: commit diff --git a/neo4j/work/transaction.py b/neo4j/work/transaction.py index 3f3978d8..ad4d0231 100644 --- a/neo4j/work/transaction.py +++ b/neo4j/work/transaction.py @@ -77,10 +77,6 @@ def _consume_results(self): def run(self, query, parameters=None, **kwparameters): """ Run a Cypher query within the context of this transaction. - The query is sent to the server lazily, when its result is - consumed. To force the query to be sent to the server, use - the :meth:`.Transaction.sync` method. - Cypher is typically expressed as a query template plus a set of named parameters. In Python, parameters may be expressed through a dictionary of parameters, through individual parameter