Skip to content

Commit

Permalink
Remove get_possibly_stale_jobs from metastore (#189)
Browse files Browse the repository at this point in the history
  • Loading branch information
amritghimire authored Jul 27, 2024
1 parent da155c6 commit a260bb6
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 7 deletions.
4 changes: 0 additions & 4 deletions src/datachain/data_storage/metastore.py
Original file line number Diff line number Diff line change
Expand Up @@ -421,10 +421,6 @@ def set_job_and_dataset_status(
) -> None:
"""Set the status of the given job and dataset."""

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


class AbstractDBMetastore(AbstractMetastore):
"""
Expand Down
3 changes: 0 additions & 3 deletions src/datachain/data_storage/sqlite.py
Original file line number Diff line number Diff line change
Expand Up @@ -496,9 +496,6 @@ def _dataset_dependencies_select_columns(self) -> list["SchemaItem"]:
def _jobs_insert(self) -> "Insert":
return sqlite.insert(self._jobs)

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


class SQLiteWarehouse(AbstractWarehouse):
"""
Expand Down

0 comments on commit a260bb6

Please sign in to comment.