pointblank 0.9.0__py3-none-any.whl → 0.9.2__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- pointblank/_constants.py +29 -0
- pointblank/_constants_translations.py +216 -0
- pointblank/_interrogation.py +218 -0
- pointblank/_utils.py +2 -0
- pointblank/actions.py +2 -2
- pointblank/data/api-docs.txt +611 -7
- pointblank/thresholds.py +3 -2
- pointblank/validate.py +794 -18
- {pointblank-0.9.0.dist-info → pointblank-0.9.2.dist-info}/METADATA +1 -1
- {pointblank-0.9.0.dist-info → pointblank-0.9.2.dist-info}/RECORD +13 -13
- {pointblank-0.9.0.dist-info → pointblank-0.9.2.dist-info}/WHEEL +1 -1
- {pointblank-0.9.0.dist-info → pointblank-0.9.2.dist-info}/licenses/LICENSE +0 -0
- {pointblank-0.9.0.dist-info → pointblank-0.9.2.dist-info}/top_level.txt +0 -0
pointblank/thresholds.py
CHANGED
|
@@ -574,8 +574,9 @@ class FinalActions:
|
|
|
574
574
|
In this example, the `send_alert()` function is defined to check the validation summary for
|
|
575
575
|
critical failures. If any are found, an alert message is printed to the console. The function is
|
|
576
576
|
passed to the `FinalActions` class, which ensures it will be executed after all validation steps
|
|
577
|
-
are complete. Note that we used the
|
|
578
|
-
|
|
577
|
+
are complete. Note that we used the
|
|
578
|
+
[`get_validation_summary()`](`pointblank.get_validation_summary`) function to retrieve the
|
|
579
|
+
summary of the validation results to help craft the alert message.
|
|
579
580
|
|
|
580
581
|
Multiple final actions can be provided in a sequence. They will be executed in the order they
|
|
581
582
|
are specified after all validation steps have completed:
|