def target_value():
    while True:
        yield 40  # you could have any arbitrary logic you wish here...
An example target used by the relay.mesos demo to set the target number of
dataset/ETHPy150Open sailthru/relay.mesos/relay_mesos/for_demo.py/target_value