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

Type stubs issue #74

Open
elohmeier opened this issue Jun 7, 2024 · 0 comments
Open

Type stubs issue #74

elohmeier opened this issue Jun 7, 2024 · 0 comments

Comments

@elohmeier
Copy link

When using processOne there is a typeerror:

  File "/nix/store/rs2zdh5pswwn2j161f2l5yim513p4081-python3-3.12.3-env/lib/python3.12/site-packages/thefuzz/process.py", line 107, in <module>
    ) -> t.Iterator[_Result, None, None]:
         ~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^
  File "/nix/store/aav6i2sih47qjwz0shpl4mmpp877v16k-python3-3.12.3/lib/python3.12/typing.py", line 398, in inner
    return func(*args, **kwds)
           ^^^^^^^^^^^^^^^^^^^
  File "/nix/store/aav6i2sih47qjwz0shpl4mmpp877v16k-python3-3.12.3/lib/python3.12/typing.py", line 1455, in __getitem__
    _check_generic(self, params, self._nparams)
  File "/nix/store/rs2zdh5pswwn2j161f2l5yim513p4081-python3-3.12.3-env/lib/python3.12/site-packages/typing_extensions.py", line 2724, in _check_generic
    raise TypeError(f"Too {'many' if alen > elen else 'few'} arguments"
TypeError: Too many arguments for typing.Iterator; actual 3, expected 1

This is on 83bea3d (latest master as of now)

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

No branches or pull requests

1 participant