-
-
Notifications
You must be signed in to change notification settings - Fork 226
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
Upgrade dataset hoster #2861
Upgrade dataset hoster #2861
Conversation
Hello @amCap1712! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found:
Comment last updated at 2024-05-03 17:05:31 UTC |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yaaay!
raise BadRequest(f"Invalid recording mbid: {param['[recording_mbid]']}") | ||
mbids.append(param["[recording_mbid]"]) | ||
def fetch(self, params, source, offset=-1, count=-1): | ||
mbids = [str(p.recording_mbid) for p in params] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
so much nicer now!
The new dataset hoster adds typing support but also changes the data format. Hence, queries need to be refactored.