Skip to content
This repository has been archived by the owner on Jan 18, 2025. It is now read-only.

Commit

Permalink
fix: update get_data return type without None case
Browse files Browse the repository at this point in the history
  • Loading branch information
NTGNguyen committed Dec 24, 2024
1 parent 98d856e commit 7ce4081
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/check_phat_nguoi/modules/get_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ def _get_data(self, plate: str, timeout: int = 5) -> None:
except requests.exceptions.Timeout:
logger.error(f"Time out of {timeout} seconds from URL {URL}")

def get_data(self) -> Dict[str, None | Dict] | None:
def get_data(self) -> Dict[str, None | Dict]:
"""Get data
Returns:
Expand Down

0 comments on commit 7ce4081

Please sign in to comment.