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

Use Unpack/TypedDict for kwargs typing #147

Open
lkct opened this issue Nov 7, 2023 · 0 comments
Open

Use Unpack/TypedDict for kwargs typing #147

lkct opened this issue Nov 7, 2023 · 0 comments
Labels
enhancement New feature or request low-priority Low priority issues

Comments

@lkct
Copy link
Member

lkct commented Nov 7, 2023

Currently (almost?) all kwargs in the repo are typed as **kwargs: Any, but we can make it more specific in some cases with Unpack and TypedDict.

Ref https://docs.python.org/3/library/typing.html#typing.Unpack, should be available in typing_extensions for py3.8.

@lkct lkct added enhancement New feature or request low-priority Low priority issues labels Nov 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request low-priority Low priority issues
Projects
None yet
Development

No branches or pull requests

1 participant