(data, instance_id)
| 102 | # The "instance_id" uniquely identifies each instance of this condition type |
| 103 | # and needs to be passed to "advss_set_temp_var_value()" |
| 104 | def my_temp_var_python_condition(data, instance_id): |
| 105 | value = random.uniform(0, 100) |
| 106 | advss_set_temp_var_value("random_int", int(value), instance_id) |
| 107 | advss_set_temp_var_value("some_other_value", value, instance_id) |
| 108 | return True |
| 109 | |
| 110 | |
| 111 | ############################################################################### |
nothing calls this directly
no test coverage detected