Skip to content

Commit

Permalink
تنسيق البرمجة المصدرية
Browse files Browse the repository at this point in the history
  • Loading branch information
vzool committed Oct 8, 2024
1 parent 1555cf4 commit 5c07636
Showing 1 changed file with 20 additions and 20 deletions.
40 changes: 20 additions & 20 deletions zakat/zakat_tracker.py
Original file line number Diff line number Diff line change
Expand Up @@ -1530,16 +1530,16 @@ def free(self, lock: int, auto_save: bool = True) -> bool:
return False

def vault(self, section: Vault = Vault.ALL) -> dict:
match section:
case Vault.ACCOUNT:
return self._vault['account'].copy()
case Vault.NAME:
return self._vault['name'].copy()
case Vault.HISTORY:
return self._vault['history'].copy()
case Vault.REPORT:
return self._vault['report'].copy()
return self._vault.copy()
match section:
case Vault.ACCOUNT:
return self._vault['account'].copy()
case Vault.NAME:
return self._vault['name'].copy()
case Vault.HISTORY:
return self._vault['history'].copy()
case Vault.REPORT:
return self._vault['report'].copy()
return self._vault.copy()

@staticmethod
def stats_init() -> dict[str, tuple[int, str]]:
Expand Down Expand Up @@ -2854,16 +2854,16 @@ def export_json(self, path: str = "data.json") -> bool:
pass

def vault(self, section: Vault = Vault.ALL) -> dict:
match section:
case Vault.ACCOUNT:
return {}
case Vault.NAME:
return {}
case Vault.HISTORY:
return {}
case Vault.REPORT:
return {}
return {}
match section:
case Vault.ACCOUNT:
return {}
case Vault.NAME:
return {}
case Vault.HISTORY:
return {}
case Vault.REPORT:
return {}
return {}

def snapshot(self) -> bool:
pass
Expand Down

0 comments on commit 5c07636

Please sign in to comment.