@@ -192,15 +192,15 @@ def get_data_sources(self) -> List[TCloudApiDataSource]:
192
192
193
193
def create_data_source (self , config : TDsConfig ) -> TCloudApiDataSource :
194
194
# TODO: replace an internal url by a public one
195
- rv = self .make_post_request (url = "api/internal /data_sources" , payload = config .dict ())
195
+ rv = self .make_post_request (url = "api/v1 /data_sources" , payload = config .dict ())
196
196
return TCloudApiDataSource (** rv .json ())
197
197
198
198
def get_data_source_schema_config (
199
199
self ,
200
200
only_important_properties : bool = False ,
201
201
) -> List [TCloudApiDataSourceConfigSchema ]:
202
202
# TODO: replace an internal url by a public one
203
- rv = self .make_get_request (url = "api/internal /data_sources/types" )
203
+ rv = self .make_get_request (url = "api/v1 /data_sources/types" )
204
204
return [
205
205
TCloudApiDataSourceConfigSchema (
206
206
name = item ["name" ],
@@ -240,12 +240,12 @@ def poll_data_diff_results(self, diff_id: int) -> TCloudApiDataDiffSummaryResult
240
240
241
241
def test_data_source (self , data_source_id : int ) -> int :
242
242
# TODO: replace an internal url by a public one
243
- rv = self .make_post_request (f"api/internal /data_sources/{ data_source_id } /test" , {})
243
+ rv = self .make_post_request (f"api/v1 /data_sources/{ data_source_id } /test" , {})
244
244
return rv .json ()["job_id" ]
245
245
246
246
def check_data_source_test_results (self , job_id : int ) -> List [TCloudApiDataSourceTestResult ]:
247
247
# TODO: replace an internal url by a public one
248
- rv = self .make_get_request (f"api/internal /data_sources/test/{ job_id } " )
248
+ rv = self .make_get_request (f"api/v1 /data_sources/test/{ job_id } " )
249
249
return [
250
250
TCloudApiDataSourceTestResult (
251
251
name = item ["step" ],
0 commit comments