Skip to content

Commit

Permalink
fix: Change type hint according returned value.
Browse files Browse the repository at this point in the history
  • Loading branch information
jirihnidek authored and ptoscano committed Mar 28, 2024
1 parent 0fdcd4c commit a821f9c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/subscription_manager/cache.py
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,7 @@ def _cache_exists(self) -> bool:

def read_status(
self, uep: connection.UEPConnection, uuid: str, on_date: Optional[datetime.datetime] = None
) -> Optional[str]:
) -> Optional[dict]:
"""
Return status, from cache if it exists, otherwise load_status
and write cache and return it.
Expand Down

0 comments on commit a821f9c

Please sign in to comment.