Skip to content

Commit 6005c64

Browse files
committed
Remove more unnecessary methods
1 parent a7b777a commit 6005c64

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

singer/bookmarks.py

-8
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,6 @@ def __eq__(self, other: Any) -> bool:
2424
def bookmarks(self) -> Dict:
2525
return self._bookmarks
2626

27-
@classmethod
28-
def load(cls, filename: str) -> "State":
29-
with open(filename) as fp: # pylint: disable=invalid-name
30-
return State.from_dict(json.load(fp))
31-
3227
@classmethod
3328
def from_dict(cls, data: Dict) -> "State":
3429
return State(
@@ -42,9 +37,6 @@ def to_dict(self) -> Dict:
4237
state["currently_syncing"] = self.get_currently_syncing()
4338
return state
4439

45-
def dump(self) -> None:
46-
json.dump(self.to_dict(), sys.stdout, indent=2)
47-
4840
def _ensure_bookmark_path(self, path: Sequence) -> None:
4941
submap = self.bookmarks
5042
for path_component in path:

0 commit comments

Comments
 (0)