pyspj.models.base¶
SPJResult¶
-
class
pyspj.models.base.
SPJResult
(correctness: bool, message: Optional[str] = None, detail: Optional[str] = None, **kwargs)[source]¶ - Overview:
Result of special judge. This is an abstract class.
-
__init__
(correctness: bool, message: Optional[str] = None, detail: Optional[str] = None, **kwargs)[source]¶ Constructor for
pyspj.models.base.SPJResult
.- Parameters
correctness – correctness of result
message – message of result
detail – detail of result
-
__repr__
()[source]¶ Get representation format of current result object.
- Returns
Representation string.
-
property
correctness
¶ Correctness of this result.
-
property
detail
¶ Detail information of this result.
-
property
message
¶ Message of this result.