This is will throw an error (since none of the standard state fields are used).
@on_state()
def random_sample_on_state(all_conditions, num_samples, random_state=None):
return Delta(conditions=random_sample(all_conditions, num_samples, random_state))
and currently requires this workaround:
@on_state()
def random_sample_on_state(conditions, all_conditions, num_samples, random_state=None):
return Delta(conditions=random_sample(all_conditions, num_samples, random_state))
This is will throw an error (since none of the standard state fields are used).
and currently requires this workaround: