Skip to content

Commit

Permalink
Remove unused BaseReceiptStore.get_url method
Browse files Browse the repository at this point in the history
  • Loading branch information
emnoor-reef committed Jun 12, 2024
1 parent c8b3274 commit a83d66c
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
3 changes: 0 additions & 3 deletions miner/app/src/compute_horde_miner/miner/receipt_store/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,3 @@
class BaseReceiptStore(metaclass=abc.ABCMeta):
@abc.abstractmethod
def store(self, receipts: list[Receipt]) -> None: ...

@abc.abstractmethod
def get_url(self) -> str: ...
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,3 @@ def store(self, receipts: list[Receipt]) -> None:

shutil.move(temp_file.name, filepath)
filepath.chmod(0o644)

def get_url(self) -> str:
return settings.LOCAL_RECEIPTS_URL + FILENAME

0 comments on commit a83d66c

Please sign in to comment.