View Source Unleash.Strategy.Constraint (Unleash v1.12.5)

Module that is used to verify constraints are met.

These constraints allow for very complex and specifc strategies to be enacted by allowing users to specify context values to include or exclude.

  • DATE_AFTER
  • DATE_BEFORE
  • IN
  • NOT_IN
  • NUM_EQ
  • NUM_GT
  • NUM_GTE
  • NUM_LT
  • NUM_LTE
  • SEMVER_EQ
  • SEMVER_GT
  • SEMVER_LT
  • STR_CONTAINS
  • STR_ENDS_WITH
  • STR_STARTS_WITH

Summary

Functions

Link to this function

verify_all(constraints, context)

View Source