Skip to content

Commit c8c4e5b

Browse files
authored
Docs: Fix outdated preview notes (#1273)
1 parent 8c7c19b commit c8c4e5b

File tree

2 files changed

+7
-16
lines changed

2 files changed

+7
-16
lines changed

src/neo4j/_api.py

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -390,18 +390,14 @@ class NotificationClassification(str, Enum):
390390
This alternative is provided for a consistent naming with
391391
:attr:`.GqlStatusObject.classification`.
392392
393-
**This is a preview**.
394-
It might be changed without following the deprecation policy.
395-
396-
See also
397-
https://github.com/neo4j/neo4j-python-driver/wiki/preview-features
398-
399393
.. seealso:: :attr:`.GqlStatusObject.classification`
400394
401395
.. versionadded:: 5.22
402396
403397
.. versionchanged:: 5.24
404398
Added classification :attr:`.SCHEMA`.
399+
400+
.. versionchanged:: 6.0 Stabilized from preview.
405401
"""
406402

407403
HINT = "HINT"

src/neo4j/warnings.py

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -53,9 +53,6 @@ class Neo4jWarning(Warning):
5353
Which notifications trigger a warning can be controlled by a
5454
configuration option: :ref:`driver-warn-notification-severity-ref`
5555
56-
**This is a preview**.
57-
It might be changed without following the deprecation policy.
58-
5956
See also
6057
https://github.com/neo4j/neo4j-python-driver/wiki/preview-features
6158
@@ -66,7 +63,9 @@ class Neo4jWarning(Warning):
6663
.. versionadded:: 5.21
6764
6865
.. versionchanged:: 6.0
69-
:attr:`.notification` is now of type :class:`.SummaryNotification`.
66+
* :attr:`.notification` is now of type :class:`.GqlStatusObject`
67+
instead of :class:`.SummaryNotification`.
68+
* Stabilized from preview.
7069
7170
.. seealso:: :ref:`development-environment-ref`
7271
"""
@@ -93,13 +92,9 @@ class Neo4jDeprecationWarning(Neo4jWarning, DeprecationWarning):
9392
This warning is a subclass of :class:`DeprecationWarning`.
9493
This means that Python will not show this warning by default.
9594
96-
**This is a preview**.
97-
It might be changed without following the deprecation policy.
98-
99-
See also
100-
https://github.com/neo4j/neo4j-python-driver/wiki/preview-features
101-
10295
:param notification: The notification that triggered the warning.
10396
10497
.. versionadded:: 5.21
98+
99+
.. versionchanged:: 6.0 Stabilized from preview.
105100
"""

0 commit comments

Comments
 (0)