From 0b434df09442f1f275b07de314f9cd8a6f382ffa Mon Sep 17 00:00:00 2001 From: Jonas Maison Date: Thu, 5 Oct 2023 11:29:05 +0200 Subject: [PATCH] fix: use projects resolver to check for data connections --- tests/fakes/fake_kili.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/fakes/fake_kili.py b/tests/fakes/fake_kili.py index 27b4d3785..76cf668f5 100644 --- a/tests/fakes/fake_kili.py +++ b/tests/fakes/fake_kili.py @@ -93,6 +93,7 @@ def mocked_ProjectQuery(where, _fields, _options): "description": "This is a test project", "jsonInterface": json_interface, "inputType": "IMAGE", + "dataConnections": None, } ] elif project_id == "object_detection_video_project": @@ -122,6 +123,7 @@ def mocked_ProjectQuery(where, _fields, _options): "description": "This is a test project", "jsonInterface": json_interface, "inputType": "VIDEO", + "dataConnections": None, } ] elif project_id == "text_classification": @@ -155,6 +157,7 @@ def mocked_ProjectQuery(where, _fields, _options): "description": "This is a TC test project", "jsonInterface": json_interface, "inputType": "TEXT", + "dataConnections": None, } ] elif project_id == "semantic_segmentation": @@ -198,6 +201,7 @@ def mocked_ProjectQuery(where, _fields, _options): "description": "This is a semantic segmentation test project", "jsonInterface": json_interface, "inputType": "IMAGE", + "dataConnections": None, } ] else: