Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix GenericRequest mypy typing error #380

Merged
merged 2 commits into from Apr 28, 2022
Merged

Conversation

JST5000
Copy link
Collaborator

@JST5000 JST5000 commented Apr 26, 2022

High Level Overview of Change

Fix GenericRequest typing issue.

Context of Change

Came up as part of sidechain dev.

According to this StackOverflow post, **kwargs should be typed according to an individual element that gets passed in to kwargs, instead of the overall collection of parameters. In this case, that means Dict[str, Any] becomes Any.

Type of Change

  • Bug fix (non-breaking change which fixes an issue)

Test Plan

CI passes

@JST5000 JST5000 changed the title Type individual args Fix GenericRequest mypy typing error Apr 26, 2022
@JST5000 JST5000 merged commit 4e78156 into master Apr 28, 2022
@JST5000 JST5000 deleted the fix-generic-request-typing branch April 28, 2022 20:17
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.

None yet

3 participants