def test_wf1_compile_time_constant_vars():

    @task
    def t1(a: int) -> typing.NamedTuple('OutputsBC', t1_int_output=int, c=str):
        return ((a + 2), 'world')

    @task
    def t2(a: str, b: str) -> str:
        return (b + a)

    @workflow
    def my_wf(a: int, b: str) -> (int, str):
        (x, y) = t1(a=a)
        d = t2(a='This is my way', b=b)
        return (x, d)
    x = my_wf(a=5, b='hello ')
    assert (x == (7, 'hello This is my way'))
def test_wf1_compile_time_constant_vars():

    @task
    def t1(a: int) -> typing.NamedTuple('OutputsBC', t1_int_output=int, c=str):
        return ((a + 2), 'world')

    @task
    def t2(a: str, b: str) -> str:
        return (b + a)

    @workflow
    def my_wf(a: int, b: str) -> (int, str):
        (x, y) = t1(a=a)
        d = t2(a='This is my way', b=b)
        return (x, d)
    x = my_wf(a=5, b='hello ')
    assert (x == (7, 'hello This is my way'))