Skip to content

fix(mypy): Use correct typings for set_user - #1167

Merged
AbhiPrasad merged 1 commit into
masterfrom
abhi-set-user-type
Aug 20, 2021
Merged

AbhiPrasad merged 1 commit into
masterfrom
abhi-set-user-type

Conversation

@AbhiPrasad

Copy link
Copy Markdown
Contributor

Switch from using (Dict[str, Any]) -> None to
(Optional[Dict[str, Any]]) -> None for the set_user function's type
hints.

Fixes #1164

Switch from using (Dict[str, Any]) -> None to
(Optional[Dict[str, Any]]) -> None for the `set_user` function's type
hints.
@AbhiPrasad
AbhiPrasad requested a review from rhcarvalho August 20, 2021 11:18
@AbhiPrasad
AbhiPrasad merged commit 832263b into master Aug 20, 2021
@AbhiPrasad
AbhiPrasad deleted the abhi-set-user-type branch August 20, 2021 15:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Typing info is wrong for set_user

2 participants