Skip to content

Commit 0bca2f8

Browse files
committed
Add component.
Signed-off-by: agoins <[email protected]>
1 parent 52f2f5a commit 0bca2f8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test_data/sdk_compiled_pipelines/valid/critical/pipeline_with_artifact_custom_path.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
from kfp.v2 import dsl, compiler
66

77

8+
@dsl.component
89
def validate_custom_artifact_path(num: int, out_dataset: Output[Dataset]):
910
with open(out_dataset.path, 'w') as f:
1011
f.write(str(2 * num))

0 commit comments

Comments
 (0)