You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The syncing DB connections, as described in Import API are POSTs with JSON content to "/api/v1/synchronizations" where both connector and interval are defined. Also, actually there are null data import urls (archive) there.
The code in datasets.py does not allow to do this:
defis_sync_table(self, archive, interval, **import_args):
return (hasattr(archive, "startswith") andarchive.startswith("http")
or"connection"inimport_args) # this is true for DB connectionsandintervalisnotNone# this also is true for syncing connectionsdefcreate(self, archive, interval=None, **import_args):
# ...ifself.is_sync_table(archive, interval, **import_args): # true for syncing DB connectionmanager=SyncTableJobManager(self.client)
else:
manager=FileImportJobManager(self.client)
ifintervalisNone:
import_job=manager.create(archive) # different signature for different managers (out of this issue)import_job.run(**import_args)
else:
import_job=manager.create(archive, interval) # this is called for SyncTableJobManager# !!! import_args (including "connection") are just ignored and not POSTed later# ...
The text was updated successfully, but these errors were encountered:
The syncing DB connections, as described in Import API are POSTs with JSON content to "/api/v1/synchronizations" where both
connector
andinterval
are defined. Also, actually there arenull
data import urls (archive) there.The code in
datasets.py
does not allow to do this:The text was updated successfully, but these errors were encountered: