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

TypeError: 'type' object is not subscriptable #29

Closed
Iceazy opened this issue Mar 20, 2023 · 1 comment
Closed

TypeError: 'type' object is not subscriptable #29

Iceazy opened this issue Mar 20, 2023 · 1 comment
Labels
bug Suspected or confirmed bug language-english Issue in English

Comments

@Iceazy
Copy link

Iceazy commented Mar 20, 2023

I just installed yadisk via pip install yadisk. And it raises error when I run import yadisk

`

import yadisk
Traceback (most recent call last):
File "", line 1, in
File "/home/timofei/.local/lib/python3.8/site-packages/yadisk/init.py", line 4, in
from .yadisk import YaDisk
File "/home/timofei/.local/lib/python3.8/site-packages/yadisk/yadisk.py", line 118, in
def _filter_kwargs_for_requests(kwargs: dict[str, Any]) -> None:
TypeError: 'type' object is not subscriptable

`

@ivknv
Copy link
Owner

ivknv commented Mar 20, 2023

Thank you for the bug report. The fix is available in the dev branch, I'll publish the new version to PyPI in an hour or so.
In the meantime you can also use a newer Python version (3.9+).

@ivknv ivknv closed this as completed Mar 23, 2023
@ivknv ivknv added bug Suspected or confirmed bug language-english Issue in English labels Dec 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Suspected or confirmed bug language-english Issue in English
Projects
None yet
Development

No branches or pull requests

2 participants