You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.rst
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,7 @@ Neo4j Bolt Driver for Python
3
3
****************************
4
4
5
5
This repository contains the official Neo4j driver for Python.
6
-
Each driver release (from 4.0 upwards) is built specifically to work with a corresponding Neo4j release, i.e. that with the same `major.minor` version number.
6
+
Each driver release (from 4.0 upwards) is built specifically to work with a corresponding Neo4j release, i.e. that with the same ``major.minor`` version number.
7
7
These drivers will also be compatible with the previous Neo4j release, although new server features will not be available.
The :class:`neo4j.Driver` construction is done via a `classmethod` on the :class:`neo4j.GraphDatabase` class.
14
+
The :class:`neo4j.Driver` construction is done via a ``classmethod`` on the :class:`neo4j.GraphDatabase` class.
15
15
16
16
.. autoclass:: neo4j.GraphDatabase
17
17
:members: driver
@@ -29,7 +29,7 @@ Driver creation example:
29
29
driver.close() # close the driver object
30
30
31
31
32
-
For basic authentication, `auth` can be a simple tuple, for example:
32
+
For basic authentication, ``auth`` can be a simple tuple, for example:
33
33
34
34
.. code-block:: python
35
35
@@ -56,7 +56,7 @@ Other authentication methods are described under :ref:`auth-ref`.
56
56
URI
57
57
===
58
58
59
-
On construction, the `scheme` of the URI determines the type of :class:`neo4j.Driver` object created.
59
+
On construction, the ``scheme`` of the URI determines the type of :class:`neo4j.Driver` object created.
60
60
61
61
Available valid URIs:
62
62
@@ -568,7 +568,7 @@ Name of the database to query.
568
568
Name of the user to impersonate.
569
569
This means that all actions in the session will be executed in the security
570
570
context of the impersonated user. For this, the user for which the
571
-
:class:``Driver`` has been created needs to have the appropriate permissions.
571
+
:class:`Driver` has been created needs to have the appropriate permissions.
572
572
573
573
:Type: ``str``, None
574
574
@@ -604,7 +604,7 @@ The default access mode.
604
604
605
605
A session can be given a default access mode on construction.
606
606
607
-
This applies only in clustered environments and determines whether transactions carried out within that session should be routed to a `read` or `write` server by default.
607
+
This applies only in clustered environments and determines whether transactions carried out within that session should be routed to a ``read`` or ``write`` server by default.
608
608
609
609
Transactions (see :ref:`managed-transactions-ref`) within a session can override the access mode passed to that session on construction.
610
610
@@ -689,7 +689,7 @@ Explicit transactions support multiple statements and must be created with an ex
689
689
690
690
This creates a new :class:`neo4j.Transaction` object that can be used to run Cypher.
691
691
692
-
It also gives applications the ability to directly control `commit` and `rollback` activity.
692
+
It also gives applications the ability to directly control ``commit`` and ``rollback`` activity.
693
693
694
694
.. autoclass:: neo4j.Transaction()
695
695
@@ -804,14 +804,14 @@ A :class:`neo4j.Result` is attached to an active connection, through a :class:`n
804
804
805
805
.. automethod:: graph
806
806
807
-
**This is experimental.** (See :ref:`filter-warnings-ref`)
808
-
809
807
.. automethod:: value
810
808
811
809
.. automethod:: values
812
810
813
811
.. automethod:: data
814
812
813
+
.. automethod:: to_df
814
+
815
815
.. automethod:: closed
816
816
817
817
See https://neo4j.com/docs/python-manual/current/cypher-workflow/#python-driver-type-mapping for more about type mapping.
@@ -853,9 +853,9 @@ Record
853
853
.. describe:: record == other
854
854
855
855
Compare a record for equality with another value.
856
-
The `other` value may be any `Sequence` or `Mapping`, or both.
857
-
If comparing with a `Sequence`, the values are compared in order.
858
-
If comparing with a `Mapping`, the values are compared based on their keys.
856
+
The ``other`` value may be any ``Sequence`` or``Mapping`` or both.
857
+
If comparing with a``Sequence`` the values are compared in order.
858
+
If comparing with a``Mapping`` the values are compared based on their keys.
859
859
If comparing with a value that exhibits both traits, both comparisons must be true for the values to be considered equal.
860
860
861
861
.. describe:: record != other
@@ -927,7 +927,7 @@ Core Data Types
927
927
928
928
Cypher supports a set of core data types that all map to built-in types in Python.
929
929
930
-
These include the common `Boolean`, `Integer`, `Float` and `String` types as well as `List` and `Map` that can hold heterogenous collections of any other type.
930
+
These include the common``Boolean`` ``Integer`` ``Float`` and ``String`` types as well as ``List`` and ``Map`` that can hold heterogenous collections of any other type.
931
931
932
932
The core types with their general mappings are listed below:
933
933
@@ -936,24 +936,24 @@ The core types with their general mappings are listed below:
0 commit comments