@@ -83,7 +83,6 @@ async def test_get_dataset_lineage_no_relations(
8383 assert response .json () == {
8484 "relations" : {
8585 "parents" : [],
86- "ancestors" : [],
8786 "symlinks" : [],
8887 "inputs" : [],
8988 "outputs" : [],
@@ -141,7 +140,6 @@ async def test_get_dataset_lineage_with_granularity_run(
141140 assert response .json () == {
142141 "relations" : {
143142 "parents" : run_parents_to_json (runs ),
144- "ancestors" : [],
145143 "symlinks" : [],
146144 "inputs" : [
147145 * inputs_to_json (merge_io_by_jobs (inputs ), granularity = "JOB" ),
@@ -201,7 +199,6 @@ async def test_get_dataset_lineage_with_granularity_job(
201199 assert response .json () == {
202200 "relations" : {
203201 "parents" : [],
204- "ancestors" : [],
205202 "symlinks" : [],
206203 "inputs" : inputs_to_json (merge_io_by_jobs (inputs ), granularity = "JOB" ),
207204 "outputs" : outputs_to_json (merge_io_by_jobs (outputs ), granularity = "JOB" ),
@@ -264,7 +261,6 @@ async def test_get_dataset_lineage_with_granularity_operation(
264261 assert response .json () == {
265262 "relations" : {
266263 "parents" : run_parents_to_json (runs ) + operation_parents_to_json (operations ),
267- "ancestors" : [],
268264 "symlinks" : [],
269265 "inputs" : [
270266 * inputs_to_json (merge_io_by_jobs (inputs ), granularity = "JOB" ),
@@ -319,7 +315,6 @@ async def test_get_dataset_lineage_with_granularity_dataset(
319315 assert response .json () == {
320316 "relations" : {
321317 "parents" : [],
322- "ancestors" : [],
323318 "symlinks" : [],
324319 "outputs" : [],
325320 "inputs" : sorted (
@@ -396,7 +391,6 @@ async def test_get_dataset_lineage_with_granularity_dataset_and_direction(
396391 assert response .json () == {
397392 "relations" : {
398393 "parents" : [],
399- "ancestors" : [],
400394 "symlinks" : [],
401395 "outputs" : [],
402396 "inputs" : sorted (
@@ -465,7 +459,6 @@ async def test_get_dataset_lineage_with_granularity_dataset_and_depth(
465459 assert response .json () == {
466460 "relations" : {
467461 "parents" : [],
468- "ancestors" : [],
469462 "symlinks" : [],
470463 "outputs" : [],
471464 "inputs" : sorted (
@@ -539,7 +532,6 @@ async def test_get_dataset_lineage_with_granularity_dataset_and_symlinks(
539532 assert response .json () == {
540533 "relations" : {
541534 "parents" : [],
542- "ancestors" : [],
543535 "symlinks" : symlinks_to_json (dataset_symlinks ),
544536 "outputs" : [],
545537 "inputs" : sorted (
@@ -615,7 +607,6 @@ async def test_get_dataset_lineage_with_granularity_dataset_and_until(
615607 assert response .json () == {
616608 "relations" : {
617609 "parents" : [],
618- "ancestors" : [],
619610 "symlinks" : [],
620611 "outputs" : [],
621612 "inputs" : sorted (
@@ -691,7 +682,6 @@ async def test_get_dataset_lineage_with_direction_downstream(
691682 assert response .json () == {
692683 "relations" : {
693684 "parents" : run_parents_to_json (runs ),
694- "ancestors" : [],
695685 "symlinks" : [],
696686 "inputs" : [
697687 * inputs_to_json (merge_io_by_jobs (inputs ), granularity = "JOB" ),
@@ -750,7 +740,6 @@ async def test_get_dataset_lineage_with_direction_upstream(
750740 assert response .json () == {
751741 "relations" : {
752742 "parents" : run_parents_to_json (runs ),
753- "ancestors" : [],
754743 "symlinks" : [],
755744 "inputs" : [],
756745 "outputs" : [
@@ -817,7 +806,6 @@ async def test_get_dataset_lineage_with_until(
817806 assert response .json () == {
818807 "relations" : {
819808 "parents" : run_parents_to_json (runs ),
820- "ancestors" : [],
821809 "symlinks" : [],
822810 "inputs" : [
823811 * inputs_to_json (merge_io_by_jobs (inputs ), granularity = "JOB" ),
@@ -916,7 +904,6 @@ async def test_get_dataset_lineage_with_depth(
916904 assert response .json () == {
917905 "relations" : {
918906 "parents" : run_parents_to_json (runs ),
919- "ancestors" : [],
920907 "symlinks" : [],
921908 "inputs" : [
922909 * inputs_to_json (merge_io_by_jobs (inputs ), granularity = "JOB" ),
@@ -1008,7 +995,6 @@ async def test_get_dataset_lineage_with_depth_and_granularity_job(
1008995 assert response .json () == {
1009996 "relations" : {
1010997 "parents" : [],
1011- "ancestors" : [],
1012998 "symlinks" : [],
1013999 "inputs" : inputs_to_json (merge_io_by_jobs (inputs ), granularity = "JOB" ),
10141000 "outputs" : outputs_to_json (merge_io_by_jobs (outputs ), granularity = "JOB" ),
@@ -1107,7 +1093,6 @@ async def test_get_dataset_lineage_with_depth_and_granularity_operation(
11071093 assert response .json () == {
11081094 "relations" : {
11091095 "parents" : run_parents_to_json (runs ) + operation_parents_to_json (operations ),
1110- "ancestors" : [],
11111096 "symlinks" : [],
11121097 "inputs" : [
11131098 * inputs_to_json (merge_io_by_jobs (inputs ), granularity = "JOB" ),
@@ -1164,7 +1149,6 @@ async def test_get_dataset_lineage_with_depth_ignore_cycles(
11641149 assert response .json () == {
11651150 "relations" : {
11661151 "parents" : run_parents_to_json (runs ),
1167- "ancestors" : [],
11681152 "symlinks" : [],
11691153 "inputs" : [
11701154 * inputs_to_json (merge_io_by_jobs (lineage .inputs ), granularity = "JOB" ),
@@ -1249,7 +1233,6 @@ async def test_get_dataset_lineage_with_depth_ignore_unrelated_datasets(
12491233 assert response .json () == {
12501234 "relations" : {
12511235 "parents" : run_parents_to_json (runs ),
1252- "ancestors" : [],
12531236 "symlinks" : [],
12541237 "inputs" : [
12551238 * inputs_to_json (merge_io_by_jobs (inputs ), granularity = "JOB" ),
@@ -1329,7 +1312,6 @@ async def test_get_dataset_lineage_with_symlink(
13291312 assert response .json () == {
13301313 "relations" : {
13311314 "parents" : run_parents_to_json (runs ),
1332- "ancestors" : [],
13331315 "symlinks" : symlinks_to_json (dataset_symlinks ),
13341316 "inputs" : [
13351317 * inputs_to_json (merge_io_by_jobs (inputs ), granularity = "JOB" ),
@@ -1410,7 +1392,6 @@ async def test_get_dataset_lineage_with_symlink_without_input_output(
14101392 assert response .json () == {
14111393 "relations" : {
14121394 "parents" : run_parents_to_json (runs ),
1413- "ancestors" : [],
14141395 "symlinks" : symlinks_to_json (dataset_symlinks ),
14151396 "inputs" : [
14161397 * inputs_to_json (merge_io_by_jobs (inputs ), granularity = "JOB" ),
@@ -1495,7 +1476,6 @@ async def test_get_dataset_lineage_unmergeable_schema_and_output_type(
14951476 assert response .json () == {
14961477 "relations" : {
14971478 "parents" : run_parents_to_json (runs ),
1498- "ancestors" : [],
14991479 "symlinks" : [],
15001480 "inputs" : [
15011481 * inputs_to_json (merge_io_by_jobs (inputs ), granularity = "JOB" ),
@@ -1611,7 +1591,6 @@ async def test_get_dataset_lineage_empty_io_stats_and_schema(
16111591 assert response .json () == {
16121592 "relations" : {
16131593 "parents" : run_parents_to_json (runs ),
1614- "ancestors" : [],
16151594 "symlinks" : [],
16161595 "inputs" : [
16171596 * inputs_to_json (merged_job_inputs , granularity = "JOB" ),
@@ -1680,7 +1659,6 @@ async def test_get_dataset_lineage_with_granularity_dataset_without_output_schem
16801659 assert response .json () == {
16811660 "relations" : {
16821661 "parents" : [],
1683- "ancestors" : [],
16841662 "symlinks" : [],
16851663 "outputs" : [],
16861664 "inputs" : sorted (
@@ -1758,7 +1736,6 @@ async def test_get_dataset_lineage_with_granularity_dataset_ignore_self_referenc
17581736 assert response .json () == {
17591737 "relations" : {
17601738 "parents" : [],
1761- "ancestors" : [],
17621739 "symlinks" : [],
17631740 "inputs" : [],
17641741 "outputs" : [],
@@ -1812,7 +1789,6 @@ async def test_get_dataset_lineage_with_granularity_dataset_ignore_not_connected
18121789 assert response .json () == {
18131790 "relations" : {
18141791 "parents" : [],
1815- "ancestors" : [],
18161792 "symlinks" : [],
18171793 "inputs" : [],
18181794 "outputs" : [],
@@ -1892,7 +1868,6 @@ async def test_get_dataset_lineage_for_long_running_operations_with_granularity_
18921868 assert response .json () == {
18931869 "relations" : {
18941870 "parents" : run_parents_to_json (runs ),
1895- "ancestors" : [],
18961871 "symlinks" : [],
18971872 "inputs" : [
18981873 * inputs_to_json (merge_io_by_jobs (inputs ), granularity = "JOB" ),
@@ -1978,7 +1953,6 @@ async def test_get_dataset_lineage_for_long_running_operations_with_granularity_
19781953 assert response .json () == {
19791954 "relations" : {
19801955 "parents" : [],
1981- "ancestors" : [],
19821956 "symlinks" : [],
19831957 "inputs" : sorted (
19841958 [
0 commit comments