We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 90433d8 commit 3a198dbCopy full SHA for 3a198db
1 file changed
cwms/users/users.py
@@ -35,7 +35,7 @@ def get_user_profile() -> dict[str, Any]:
35
return dict(response)
36
37
38
-def filter_users_by_office(data: dict, office: str) -> dict:
+def filter_users_by_office(data: dict[str, Any], office: str) -> dict[str, Any]:
39
"""
40
Filter users JSON to only include users that have roles for the specified office.
41
Each user's roles dict will only contain the entry for that office.
0 commit comments