@@ -75,7 +75,6 @@ class attribute. Documentation is in strings immediately following the
7575from .utilities .introspection import return_type
7676from .base_descriptor import BaseDescriptor
7777from .exceptions import (
78- DocstringToMessage ,
7978 NotConnectedToServerError ,
8079 ReadOnlyPropertyError ,
8180)
@@ -97,23 +96,23 @@ class attribute. Documentation is in strings immediately following the
9796
9897
9998# The following exceptions are raised only when creating/setting up properties.
100- class OverspecifiedDefaultError (DocstringToMessage , ValueError ):
99+ class OverspecifiedDefaultError (ValueError ):
101100 """The default value has been specified more than once.
102101
103102 This error is raised when a `.DataProperty` is instantiated with both a
104103 ``default`` value and a ``default_factory`` provided.
105104 """
106105
107106
108- class MissingDefaultError (DocstringToMessage , ValueError ):
107+ class MissingDefaultError (ValueError ):
109108 """The default value has not been specified.
110109
111110 This error is raised when a `.DataProperty` is instantiated without a
112111 ``default`` value or a ``default_factory`` function.
113112 """
114113
115114
116- class InconsistentTypeError (DocstringToMessage , TypeError ):
115+ class InconsistentTypeError (TypeError ):
117116 """Different type hints have been given for a property.
118117
119118 Every property should have a type hint, which may be provided in a few
@@ -122,7 +121,7 @@ class InconsistentTypeError(DocstringToMessage, TypeError):
122121 """
123122
124123
125- class MissingTypeError (DocstringToMessage , TypeError ):
124+ class MissingTypeError (TypeError ):
126125 """No type hints have been given for a property.
127126
128127 Every property should have a type hint, which may be provided in a few
0 commit comments