Skip to content

Conversation

@KeenanOH
Copy link
Contributor

While fetching the user, the avatar can sometimes be None. This would cause the raise of dacite.exceptions.WrongTypeError.
Also changed the type hint of the user attribute of Client to Optional[User] as it was declared as None.

@KAJdev
Copy link
Owner

KAJdev commented Jun 15, 2022

Looks good to me! Although going forward the best practice would be to create PR into the dev branch instead of main.

@KAJdev KAJdev merged commit 864d66b into KAJdev:main Jun 15, 2022
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.

2 participants