Esempio n. 1
0
def test_prov_01():
    reg = serial.base()
    a = add(3, 4)

    enc = reg.deep_encode(a._workflow.root_node)
    dec = reg.deep_decode(enc)

    result = run_job(0, dec)
    assert result.value == 7
Esempio n. 2
0
    def get_result():
        source = jobs.source()

        for key, job in source:
            tic()
            yield run_job(key, job)
Esempio n. 3
0
    def get_result():
        source = jobs.source()

        for key, job in source:
            tic()
            yield run_job(key, job)