Skip to content

Commit

Permalink
fix: add return type annotation
Browse files Browse the repository at this point in the history
Signed-off-by: orertrr <[email protected]>
  • Loading branch information
orertrr committed Jul 30, 2024
1 parent 0e8037d commit 9a6390d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion module/users.py
Original file line number Diff line number Diff line change
Expand Up @@ -426,7 +426,7 @@ def marshal_dietary_habit(user_infos: dict[str, Any]) -> Generator[dict[str, Any
yield data

@staticmethod
def get_dietary_habit_statistics(uids: list[str]):
def get_dietary_habit_statistics(uids: list[str]) -> dict[str, int]:
''' Get dietary habit statistics by given uids '''
result: dict[str, int] = { }

Expand Down

0 comments on commit 9a6390d

Please sign in to comment.