File tree 2 files changed +26
-0
lines changed
2 files changed +26
-0
lines changed Original file line number Diff line number Diff line change @@ -1237,6 +1237,30 @@ Please provide details about your running environment,
1237
1237
+ The error message:
1238
1238
1239
1239
1240
+ ** ******
1241
+ Warnings
1242
+ ** ******
1243
+
1244
+ The Python Driver uses the built- in :class :`python:DeprecationWarning ` class to warn about deprecations.
1245
+
1246
+ The Python Driver uses the :class :`neo4j.ExperimentalWarning` class to warn about experimental features.
1247
+
1248
+ .. autoclass:: neo4j.ExperimentalWarning
1249
+
1250
+
1251
+ Filter Warnings
1252
+ ============== =
1253
+
1254
+ This example shows how to suppress the :class :`neo4j.ExperimentalWarning` using the :func:`python:warnings.filterwarnings` function.
1255
+
1256
+ .. code- block:: python
1257
+
1258
+ import warnings
1259
+ from neo4j import ExperimentalWarning
1260
+
1261
+ warnings.filterwarnings(" ignore" , category = ExperimentalWarning)
1262
+
1263
+
1240
1264
** ******
1241
1265
Bookmark
1242
1266
** ******
Original file line number Diff line number Diff line change 53
53
"Query" ,
54
54
"Session" ,
55
55
"unit_of_work" ,
56
+ "ExperimentalWarning" ,
56
57
]
57
58
58
59
from logging import getLogger
87
88
)
88
89
from neo4j .meta import (
89
90
experimental ,
91
+ ExperimentalWarning ,
90
92
get_user_agent ,
91
93
version as __version__ ,
92
94
)
You can’t perform that action at this time.
0 commit comments