def _clear_caches_for_dynamic_toggle(toggle_meta): # note: this is rather coupled with python property internals DynamicallyPredictablyRandomToggle.randomness.fget.clear(toggle_meta) # also have to do this since the toggle itself is cached all_toggles.clear()
def _clear_caches_for_dynamic_toggle(static_toggle): # note: this is rather coupled with python property internals DynamicallyPredictablyRandomToggle.randomness.fget.clear(static_toggle) # also have to do this since the toggle itself is cached all_toggles.clear()