xbrl.formula.AssertionResult

An xbrl.formula.AssertionResult class groups together all evaluations of an assertion.

class xbrl.formula.AssertionResult

Proper instances of this class will be created within RaptorXML only, instantiation from script code will throw a NotImplementedError exception.

Attributes

xbrl.formula.AssertionResult.assertion

Returns an xbrl.formula.Assertion or xbrl.formula.VariableSetAssertion object which represents the source assertion.

xbrl.formula.AssertionResult.evaluation_count

Returns the total number of evaluations that have occurred.

xbrl.formula.AssertionResult.evaluation_result

Returns True if no unsatisfied assertion evaluations have occurred, otherwise False.

xbrl.formula.AssertionResult.has_failed_preconditions

Returns true if some preconditions of this assertion were not satisifed.

xbrl.formula.AssertionResult.satisfied_evaluation_count

Returns the number of evaluations that were satisfied.

xbrl.formula.AssertionResult.satisfied_evaluations

Returns an iterator of xbrl.formula.AssertionEvaluation objects which represent all satisified evaluations of this assertion.

xbrl.formula.AssertionResult.unsatisfied_evaluation_count

Returns the number of evaluations that were unsatisfied.

xbrl.formula.AssertionResult.unsatisfied_evaluations

Returns an iterator of xbrl.formula.AssertionEvaluation objects which represent all unsatisified evaluations of this assertion.

Special methods

__bool__, __eq__, __ge__, __gt__, __le__, __lt__, __ne__