Skip to content

Commit a260bb6

Browse files
authored
Remove get_possibly_stale_jobs from metastore (#189)
1 parent da155c6 commit a260bb6

File tree

2 files changed

+0
-7
lines changed

2 files changed

+0
-7
lines changed

src/datachain/data_storage/metastore.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -421,10 +421,6 @@ def set_job_and_dataset_status(
421421
) -> None:
422422
"""Set the status of the given job and dataset."""
423423

424-
@abstractmethod
425-
def get_possibly_stale_jobs(self) -> list[tuple[str, str, int]]:
426-
"""Returns the possibly stale jobs."""
427-
428424

429425
class AbstractDBMetastore(AbstractMetastore):
430426
"""

src/datachain/data_storage/sqlite.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -496,9 +496,6 @@ def _dataset_dependencies_select_columns(self) -> list["SchemaItem"]:
496496
def _jobs_insert(self) -> "Insert":
497497
return sqlite.insert(self._jobs)
498498

499-
def get_possibly_stale_jobs(self) -> list[tuple[str, str, int]]:
500-
raise NotImplementedError("get_possibly_stale_jobs not implemented for SQLite")
501-
502499

503500
class SQLiteWarehouse(AbstractWarehouse):
504501
"""

0 commit comments

Comments
 (0)