@@ -40,7 +40,7 @@ class NotificationMinimumSeverity(str, Enum):
4040 """Filter notifications returned by the server by minimum severity.
4141
4242 Inherits from :class:`str` and :class:`Enum`. Every driver API accepting a
43- :class:`.NotificationFilter ` value will also accept a string::
43+ :class:`.NotificationMinimumSeverity ` value will also accept a string::
4444
4545 >>> NotificationMinimumSeverity.OFF == "OFF"
4646 True
@@ -128,23 +128,20 @@ class NotificationDisabledCategory(str, Enum):
128128 """Filter notifications returned by the server by category.
129129
130130 Inherits from :class:`str` and :class:`Enum`. Every driver API accepting a
131- :class:`.NotificationFilter ` value will also accept a string::
131+ :class:`.NotificationDisabledCategory ` value will also accept a string::
132132
133- >>> NotificationDisabledCategory.HINT == "HINT"
134- True
135133 >>> NotificationDisabledCategory.UNRECOGNIZED == "UNRECOGNIZED"
136134 True
137- >>> NotificationDisabledCategory.UNSUPPORTED == "UNSUPPORTED"
138- True
139135 >>> NotificationDisabledCategory.PERFORMANCE == "PERFORMANCE"
140136 True
141137 >>> NotificationDisabledCategory.DEPRECATION == "DEPRECATION"
142138 True
143- >>> NotificationDisabledCategory.GENERIC == "GENERIC"
144- True
145139
146140 .. versionadded:: 5.7
147141
142+ .. versionchanged:: 5.14
143+ Added categories :attr:`.SECURITY` and :attr:`.TOPOLOGY`.
144+
148145 .. seealso::
149146 driver config :ref:`driver-notifications-disabled-categories-ref`,
150147 session config :ref:`session-notifications-disabled-categories-ref`
@@ -156,6 +153,10 @@ class NotificationDisabledCategory(str, Enum):
156153 PERFORMANCE = "PERFORMANCE"
157154 DEPRECATION = "DEPRECATION"
158155 GENERIC = "GENERIC"
156+ #: Requires server version 5.14 or newer.
157+ SECURITY = "SECURITY"
158+ #: Requires server version 5.14 or newer.
159+ TOPOLOGY = "TOPOLOGY"
159160
160161
161162if t .TYPE_CHECKING :
@@ -168,6 +169,8 @@ class NotificationDisabledCategory(str, Enum):
168169 "PERFORMANCE" ,
169170 "DEPRECATION" ,
170171 "GENERIC" ,
172+ "SECURITY" ,
173+ "TOPOLOGY" ,
171174 ],
172175 ]
173176 __all__ .append ("T_NotificationDisabledCategory" )
@@ -188,6 +191,9 @@ class NotificationCategory(str, Enum):
188191
189192 .. versionadded:: 5.7
190193
194+ .. versionchanged:: 5.14
195+ Added categories :attr:`.SECURITY` and :attr:`.TOPOLOGY`.
196+
191197 .. seealso:: :attr:`SummaryNotification.category`
192198 """
193199
@@ -197,6 +203,8 @@ class NotificationCategory(str, Enum):
197203 PERFORMANCE = "PERFORMANCE"
198204 DEPRECATION = "DEPRECATION"
199205 GENERIC = "GENERIC"
206+ SECURITY = "SECURITY"
207+ TOPOLOGY = "TOPOLOGY"
200208 #: Used when the server provides a Category which the driver is unaware of.
201209 #: This can happen when connecting to a server newer than the driver or
202210 #: before notification categories were introduced.
0 commit comments