File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -23,7 +23,13 @@ class WheelSource:
2323 This is an abstract class, whose methods have to be implemented by subclasses.
2424 """
2525
26- validation_error : ClassVar [Type [Exception ]] = ValueError
26+ validation_error : ClassVar [Type [Exception ]] = ValueError #: :meta hide-value:
27+ """
28+ .. versionadded:: 0.7.0
29+
30+ Exception to be raised by :py:meth:`validate_record` when validation fails.
31+ This is expected to be a subclass of :py:class:`ValueError`.
32+ """
2733
2834 def __init__ (self , distribution : str , version : str ) -> None :
2935 """Initialize a WheelSource object.
@@ -71,6 +77,8 @@ def read_dist_info(self, filename: str) -> str:
7177 def validate_record (self ) -> None :
7278 """Validate ``RECORD`` of the wheel.
7379
80+ .. versionadded:: 0.7.0
81+
7482 This method should be called before :py:func:`install <installer.install>`
7583 if validation is required.
7684 """
You can’t perform that action at this time.
0 commit comments