We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f2c184f commit 55bab79Copy full SHA for 55bab79
pydra/compose/tests/test_python_fields.py
@@ -58,7 +58,7 @@ def test_function_arg_add_help():
58
def func(a: int) -> int:
59
return a * 2
60
61
- assert task_fields(func).a.help == "an int"
+ assert get_fields(func).a.help == "an int"
62
63
64
def test_interface_wrap_function_with_default():
@@ -454,7 +454,7 @@ def TestFunc1(a: A) -> None:
454
print(a)
455
456
outputs = TestFunc1(a=A(x=7))()
457
- assert not task_fields(outputs)
+ assert not get_fields(outputs)
458
459
460
def test_no_outputs2():
@@ -465,7 +465,7 @@ def TestFunc2(a: A):
465
466
467
outputs = TestFunc2(a=A(x=7))()
468
469
470
471
def test_no_outputs_fail():
0 commit comments