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

Tidal no longer includes gender attribute for user user object #159

Closed
HenryKautz opened this issue Jul 12, 2023 · 2 comments
Closed

Tidal no longer includes gender attribute for user user object #159

HenryKautz opened this issue Jul 12, 2023 · 2 comments

Comments

@HenryKautz
Copy link

Tidal no longer includes gender attribute for user user object.

File "/Users/kautz/opt/anaconda3/envs/henry/lib/python3.11/site-packages/tidalapi/user.py", line 114, in parse
self.gender = json_obj["gender"]
~~~~~~~~^^^^^^^^^^
KeyError: 'gender'

In class LoggedInUser(FetchedUser), remove line:

self.gender = json_obj["gender"]

@nawordar
Copy link

nawordar commented Jul 13, 2023

This is already fixed on master. See #146

@tehkillerbee
Copy link
Collaborator

Yes, this is already fixed. Please install latest version of tidalapi from git until we release the next version to PyPi

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

3 participants