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 d28b0a4 commit 7403a0cCopy full SHA for 7403a0c
pydra/engine/tests/test_audit.py
@@ -302,3 +302,15 @@ def TestFunc(a: int, b: float = 0.1):
302
# commented out to speed up testing
303
collect_messages(tmpdir / funky._checksum, message_path, ld_op="compact")
304
assert (tmpdir / funky._checksum / "messages.jsonld").exists()
305
+
306
307
+def test_audit_resource():
308
309
+ @python.define(outputs=["out"])
310
+ def AddVar(a: int, b: int) -> int:
311
+ return a + b
312
313
+ task0 = AddVar(a=4, b=5)
314
+ outputs = task0(audit_flags=AuditFlag.RESOURCE)
315
316
+ print(outputs)
0 commit comments