- add the check that this signal came from - this lets us see if we've run a check, instead of checking for a particular slug or set of slugs (e.g.
HTTP_STATUS_CODE_*
vs.HTTP_STATUS_CODE_5XX_501
)- used by "ran_check" in SH
-
find(tags=[], slugs=[])
- allow wildcards (e.g.
HTTP_STATUS_CODE_5XX_*
orCORS_*_WILDCARD
) - returns:
SignalHolder([matched signals])
- allow wildcards (e.g.
-
__eq__(other=SignalHolder())
- determine whether the signals contained in this SH are the same as those supplied in "other"
- returns: True/False
-
diff(other=SignalHolder())
- return a set of signals that differ between two SignalHolders
- create new signals? i.e.
HTTP_STATUS_CODE_DIFFERS
? - returns:
SignalHolder([different signals])
-
ran_check(check_name=str)
- determine whether a given check was already run and appended to this SignalHolder
- returns: True/False