File tree 1 file changed +1
-3
lines changed
metadata-ingestion/src/datahub/ingestion/source/fivetran
1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -201,14 +201,12 @@ def _enrich_bigquery_connector(
201
201
202
202
def list_connector_schemas (self , connector_id : str ) -> List [Dict ]:
203
203
"""Get schema information for a connector."""
204
- # Check cache first
205
204
if connector_id in self ._schema_cache :
206
205
return self ._schema_cache [connector_id ]
207
206
208
207
response = self ._make_request ("GET" , f"/connectors/{ connector_id } /schemas" )
209
208
schemas = response .get ("data" , {}).get ("schemas" , [])
210
209
211
- # Cache the response
212
210
self ._schema_cache [connector_id ] = schemas
213
211
return schemas
214
212
@@ -335,7 +333,7 @@ def list_connector_sync_history(
335
333
# Try v1/connectors/{connector_id}/logs (most likely endpoint)
336
334
try :
337
335
response = self ._make_request (
338
- "GET" , f"/connectors/{ connector_id } /logs " , params = params
336
+ "GET" , f"/connectors/{ connector_id } /sync-history " , params = params
339
337
)
340
338
logs = response .get ("data" , {}).get ("items" , [])
341
339
if logs :
You can’t perform that action at this time.
0 commit comments