Skip to content

Fix multiple **kwargs type hints #967

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

Merged
merged 1 commit into from
Jan 11, 2021
Merged

Fix multiple **kwargs type hints #967

merged 1 commit into from
Jan 11, 2021

Conversation

intgr
Copy link
Contributor

@intgr intgr commented Jan 8, 2021

A **kwargs argument should be hinted as T, instead of Dict[str, T].
The dict wrapping is already implied by the type system.

See: https://mypy.readthedocs.io/en/stable/getting_started.html?highlight=kwargs#more-function-signatures

A **kwargs argument should be hinted as `T`, instead of `Dict[str, T]`.
The dict wrapping is already implied by the type system.

See: https://mypy.readthedocs.io/en/stable/getting_started.html?highlight=kwargs#more-function-signatures
@untitaker untitaker merged commit b7816b0 into getsentry:master Jan 11, 2021
@untitaker
Copy link
Member

Thanks!

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