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 committed Mar 27, 2024
1 parent a7af500 commit d1e7016
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 d1e7016

Please sign in to comment.