@@ -318,6 +318,8 @@ def test_func(output_artifact_two: Output[Metrics]):
318318 'projects/123/locations/us-central1/metadataStores/default/artifacts/123' ,
319319 'uri' :
320320 'new-uri' ,
321+ 'custom_path' :
322+ '' ,
321323 'metadata' : {
322324 'key_1' : 'value_1' ,
323325 'key_2' : 2 ,
@@ -645,7 +647,9 @@ def test_func(first: str, second: str, output: Output[Artifact]) -> str:
645647 'name' :
646648 'projects/123/locations/us-central1/metadataStores/default/artifacts/123' ,
647649 'uri' :
648- 'gs://some-bucket/output'
650+ 'gs://some-bucket/output' ,
651+ 'custom_path' :
652+ ''
649653 }]
650654 }
651655 },
@@ -702,7 +706,9 @@ def test_func(first: str, second: str) -> Artifact:
702706 'name' :
703707 'projects/123/locations/us-central1/metadataStores/default/artifacts/123' ,
704708 'uri' :
705- 'gs://some-bucket/output'
709+ 'gs://some-bucket/output' ,
710+ 'custom_path' :
711+ ''
706712 }]
707713 }
708714 },
@@ -815,7 +821,9 @@ def func_returning_plain_tuple() -> NamedTuple('Outputs', [
815821 'name' :
816822 'projects/123/locations/us-central1/metadataStores/default/artifacts/123' ,
817823 'uri' :
818- 'gs://some-bucket/output_dataset'
824+ 'gs://some-bucket/output_dataset' ,
825+ 'custom_path' :
826+ ''
819827 }]
820828 }
821829 },
@@ -1054,6 +1062,8 @@ def test_func(
10541062 '' ,
10551063 'uri' :
10561064 'gs://mlpipeline/v2/artifacts/my-test-pipeline-beta/b2b0cdee-b15c-48ff-b8bc-a394ae46c854/train/model' ,
1065+ 'custom_path' :
1066+ '' ,
10571067 'metadata' : {
10581068 'accuracy' : 0.9
10591069 }
@@ -1288,6 +1298,8 @@ def test_func() -> Artifact:
12881298 'projects/123/locations/us-central1/metadataStores/default/artifacts/123' ,
12891299 'uri' :
12901300 'gs://manually_specified_bucket/foo' ,
1301+ 'custom_path' :
1302+ '' ,
12911303 'metadata' : {
12921304 'data' : 123
12931305 }
@@ -1339,6 +1351,8 @@ def test_func() -> Artifact:
13391351 'projects/123/locations/us-central1/metadataStores/default/artifacts/123' ,
13401352 'uri' :
13411353 'gs://another_bucket/my_artifact' ,
1354+ 'custom_path' :
1355+ '' ,
13421356 'metadata' : {
13431357 'data' : 123
13441358 }
@@ -1408,6 +1422,8 @@ def test_func() -> NamedTuple('outputs', a=Artifact, d=Dataset):
14081422 'projects/123/locations/us-central1/metadataStores/default/artifacts/123' ,
14091423 'uri' :
14101424 'gs://another_bucket/artifact' ,
1425+ 'custom_path' :
1426+ '' ,
14111427 'metadata' : {
14121428 'data' : 123
14131429 }
@@ -1419,6 +1435,8 @@ def test_func() -> NamedTuple('outputs', a=Artifact, d=Dataset):
14191435 'projects/123/locations/us-central1/metadataStores/default/artifacts/321' ,
14201436 'uri' :
14211437 'gs://another_bucket/dataset' ,
1438+ 'custom_path' :
1439+ '' ,
14221440 'metadata' : {}
14231441 }]
14241442 }
0 commit comments