From 2f385d95c4e9f4f9f7a80fcd786b9150c50e85b0 Mon Sep 17 00:00:00 2001 From: Robsdedude Date: Wed, 10 Dec 2025 12:03:57 +0100 Subject: [PATCH] Docs: Fix outdated preview notes --- src/neo4j/_api.py | 8 ++------ src/neo4j/warnings.py | 15 +++++---------- 2 files changed, 7 insertions(+), 16 deletions(-) diff --git a/src/neo4j/_api.py b/src/neo4j/_api.py index 9e2a23e3c..69d329010 100644 --- a/src/neo4j/_api.py +++ b/src/neo4j/_api.py @@ -390,18 +390,14 @@ class NotificationClassification(str, Enum): This alternative is provided for a consistent naming with :attr:`.GqlStatusObject.classification`. - **This is a preview**. - It might be changed without following the deprecation policy. - - See also - https://github.com/neo4j/neo4j-python-driver/wiki/preview-features - .. seealso:: :attr:`.GqlStatusObject.classification` .. versionadded:: 5.22 .. versionchanged:: 5.24 Added classification :attr:`.SCHEMA`. + + .. versionchanged:: 6.0 Stabilized from preview. """ HINT = "HINT" diff --git a/src/neo4j/warnings.py b/src/neo4j/warnings.py index 058385a54..f4036618c 100644 --- a/src/neo4j/warnings.py +++ b/src/neo4j/warnings.py @@ -53,9 +53,6 @@ class Neo4jWarning(Warning): Which notifications trigger a warning can be controlled by a configuration option: :ref:`driver-warn-notification-severity-ref` - **This is a preview**. - It might be changed without following the deprecation policy. - See also https://github.com/neo4j/neo4j-python-driver/wiki/preview-features @@ -66,7 +63,9 @@ class Neo4jWarning(Warning): .. versionadded:: 5.21 .. versionchanged:: 6.0 - :attr:`.notification` is now of type :class:`.SummaryNotification`. + * :attr:`.notification` is now of type :class:`.GqlStatusObject` + instead of :class:`.SummaryNotification`. + * Stabilized from preview. .. seealso:: :ref:`development-environment-ref` """ @@ -93,13 +92,9 @@ class Neo4jDeprecationWarning(Neo4jWarning, DeprecationWarning): This warning is a subclass of :class:`DeprecationWarning`. This means that Python will not show this warning by default. - **This is a preview**. - It might be changed without following the deprecation policy. - - See also - https://github.com/neo4j/neo4j-python-driver/wiki/preview-features - :param notification: The notification that triggered the warning. .. versionadded:: 5.21 + + .. versionchanged:: 6.0 Stabilized from preview. """