@@ -687,49 +687,50 @@ See also :attr:`.GqlStatusObject.is_notification`.
687
687
688
688
``notifications_disabled_categories ``
689
689
-------------------------------------
690
- Set categories/classifications of notifications the server should not send to the client.
691
- Disabling categories allows the server to skip analysis for those, which can speed up query execution.
690
+ Identical to :ref: `driver-notifications-disabled-classifications-ref `.
692
691
693
- Notifications are available via :attr: `.ResultSummary.notifications ` and :attr: `.ResultSummary.summary_notifications `.
694
- Further, they are surfaced (alongside other status objects) through :attr: `.ResultSummary.gql_status_objects `:
695
- See also :attr: `.GqlStatusObject.is_notification `.
696
-
697
- :data: `None ` will apply the server's default setting.
698
-
699
- If specified together with :ref: `driver-notifications-disabled-classifications-ref `, the settings will be merged.
700
-
701
- .. Note ::
702
- If configured, the server or all servers of the cluster need to support notifications filtering
703
- (server version 5.7 and newer).
704
- Otherwise, the driver will raise a :exc: `.ConfigurationError ` as soon as it encounters a server that does not.
692
+ This alias is provided for a consistent naming with :attr: `.SummaryNotification.category `.
705
693
706
694
:Type: :data: `None `, :term: `iterable ` of :class: `.NotificationDisabledCategory ` and/or :class: `str `
707
695
:Default: :data: `None `
708
696
709
697
.. versionadded :: 5.7
710
698
711
- .. seealso :: :class:`.NotificationDisabledCategory`, session config :ref:`session-notifications-disabled-categories-ref`
699
+ .. deprecated :: 6.0
700
+ This setting is deprecated in favor of :ref: `driver-notifications-disabled-classifications-ref `.
701
+ It will be removed in a future release.
702
+
703
+ .. seealso :: :class:`.NotificationDisabledCategory`, session config :ref:`session-notifications-disabled-categories-ref`, :attr:`.SummaryNotification.category`
712
704
713
705
714
706
.. _driver-notifications-disabled-classifications-ref :
715
707
716
708
``notifications_disabled_classifications ``
717
709
------------------------------------------
718
- Identical to :ref: `driver-notifications-disabled-categories-ref `.
710
+ Set classifications/categories of notifications the server should not send to the client.
711
+ Disabling classifications allows the server to skip analysis for those, which can speed up query execution.
719
712
720
- This alias is provided for a consistent naming with :attr: `.GqlStatusObject.classification `.
713
+ Notifications are available via :attr: `.ResultSummary.notifications ` and :attr: `.ResultSummary.summary_notifications `.
714
+ Further, they are surfaced (alongside other status objects) through :attr: `.ResultSummary.gql_status_objects `:
715
+ See also :attr: `.GqlStatusObject.is_notification `.
721
716
722
- **This is a preview ** (see :ref: `filter-warnings-ref `).
723
- It might be changed without following the deprecation policy.
724
- See also
725
- https://github.com/neo4j/neo4j-python-driver/wiki/preview-features
717
+ :data: `None ` will apply the server's default setting.
718
+
719
+ If specified together with :ref: `driver-notifications-disabled-categories-ref `, the settings will be merged.
720
+
721
+ .. Note ::
722
+ If configured, the server or all servers of the cluster need to support notifications filtering
723
+ (server version 5.7 and newer).
724
+ Otherwise, the driver will raise a :exc: `.ConfigurationError ` as soon as it encounters a server that does not.
726
725
727
726
:Type: :data: `None `, :term: `iterable ` of :class: `.NotificationDisabledClassification ` and/or :class: `str `
728
727
:Default: :data: `None `
729
728
730
729
.. versionadded :: 5.22
731
730
732
- .. seealso :: :class:`.NotificationDisabledClassification`, session config :ref:`session-notifications-disabled-classifications-ref`
731
+ .. versionchanged :: 6.0 Stabilized from preview.
732
+
733
+ .. seealso :: :class:`.NotificationDisabledClassification`, session config :ref:`session-notifications-disabled-classifications-ref`, :attr:`.GqlStatusObject.classification`
733
734
734
735
735
736
.. _driver-warn-notification-severity-ref :
@@ -1186,49 +1187,50 @@ See also :attr:`.GqlStatusObject.is_notification`.
1186
1187
1187
1188
``notifications_disabled_categories ``
1188
1189
-------------------------------------
1189
- Set categories of notifications the server should not send to the client.
1190
- Disabling categories allows the server to skip analysis for those, which can speed up query execution.
1191
-
1192
- Notifications are available via :attr: `.ResultSummary.notifications ` and :attr: `.ResultSummary.summary_notifications `.
1193
- Further, they are surfaced (alongside other status objects) through :attr: `.ResultSummary.gql_status_objects `:
1194
- See also :attr: `.GqlStatusObject.is_notification `.
1195
-
1196
- :data: `None ` will apply the driver's configuration setting (:ref: `driver-notifications-disabled-categories-ref `).
1190
+ Identical to :ref: `session-notifications-disabled-classifications-ref `.
1197
1191
1198
- If specified together with :ref: `session-notifications-disabled-classifications-ref `, the settings will be merged.
1199
-
1200
- .. Note ::
1201
- If configured, the server or all servers of the cluster need to support notifications filtering
1202
- (server version 5.7 and newer).
1203
- Otherwise, the driver will raise a :exc: `.ConfigurationError ` as soon as it encounters a server that does not.
1192
+ This alias is provided for a consistent naming with :attr: `.SummaryNotification.category `.
1204
1193
1205
1194
:Type: :data: `None `, :term: `iterable ` of :class: `.NotificationDisabledCategory ` and/or :class: `str `
1206
1195
:Default: :data: `None `
1207
1196
1208
1197
.. versionadded :: 5.7
1209
1198
1210
- .. seealso :: :class:`.NotificationDisabledCategory`
1199
+ .. deprecated :: 6.0
1200
+ This setting is deprecated in favor of :ref: `session-notifications-disabled-classifications-ref `.
1201
+ It will be removed in a future release.
1202
+
1203
+ .. seealso :: :class:`.NotificationDisabledCategory`, :attr:`.SummaryNotification.category`
1211
1204
1212
1205
1213
1206
.. _session-notifications-disabled-classifications-ref :
1214
1207
1215
1208
``notifications_disabled_classifications ``
1216
1209
------------------------------------------
1217
- Identical to :ref: `session-notifications-disabled-categories-ref `.
1210
+ Set classifications/categories of notifications the server should not send to the client.
1211
+ Disabling classifications allows the server to skip analysis for those, which can speed up query execution.
1218
1212
1219
- This alias is provided for a consistent naming with :attr: `.GqlStatusObject.classification `.
1213
+ Notifications are available via :attr: `.ResultSummary.notifications ` and :attr: `.ResultSummary.summary_notifications `.
1214
+ Further, they are surfaced (alongside other status objects) through :attr: `.ResultSummary.gql_status_objects `:
1215
+ See also :attr: `.GqlStatusObject.is_notification `.
1220
1216
1221
- **This is a preview ** (see :ref: `filter-warnings-ref `).
1222
- It might be changed without following the deprecation policy.
1223
- See also
1224
- https://github.com/neo4j/neo4j-python-driver/wiki/preview-features
1217
+ :data: `None ` will apply the driver's configuration setting (:ref: `driver-notifications-disabled-classifications-ref `).
1218
+
1219
+ If specified together with :ref: `session-notifications-disabled-categories-ref `, the settings will be merged.
1220
+
1221
+ .. Note ::
1222
+ If configured, the server or all servers of the cluster need to support notifications filtering
1223
+ (server version 5.7 and newer).
1224
+ Otherwise, the driver will raise a :exc: `.ConfigurationError ` as soon as it encounters a server that does not.
1225
1225
1226
1226
:Type: :data: `None `, :term: `iterable ` of :class: `.NotificationDisabledClassification ` and/or :class: `str `
1227
1227
:Default: :data: `None `
1228
1228
1229
1229
.. versionadded :: 5.22
1230
1230
1231
- .. seealso :: :class:`.NotificationDisabledClassification`
1231
+ .. versionchanged :: 6.0 Stabilized from preview.
1232
+
1233
+ .. seealso :: :class:`.NotificationDisabledClassification`, :attr:`.GqlStatusObject.classification`
1232
1234
1233
1235
1234
1236
0 commit comments