(feat:sources) management, simple re-ingest

This commit is contained in:
ManishMadan2882
2025-07-30 01:57:40 +05:30
parent a24652f901
commit 266d256a07
3 changed files with 269 additions and 0 deletions

View File

@@ -22,6 +22,13 @@ def ingest_remote(self, source_data, job_name, user, loader):
return resp
@celery.task(bind=True)
def reingest_source_task(self, source_id, user):
from application.worker import reingest_source_worker
resp = reingest_source_worker(self, source_id, user)
return resp
@celery.task(bind=True)
def schedule_syncs(self, frequency):
resp = sync_worker(self, frequency)