mindee/tawazi

[BUG] TypeError not forwarded to the IDE via the to_dag decorator, prevents useful autocompletion before execution

matthiasmindee opened this issue · 1 comments

Describe the bug
The decorator @to_dag prevents the functions in its body to be autocompleted.

To Reproduce

@op
def foo(toto, titi):
    pass

@to_dag
def bar():
    foo(toto)

here the IDE doesn't warn that we need to provide a titi parameter as well and it fails in the execution

solved in #104