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

Refactor load recording from UUID functions #1570

Merged
merged 3 commits into from Aug 3, 2021

Conversation

jdaok
Copy link
Contributor

@jdaok jdaok commented Jul 30, 2021

This PR refactors the helper functions added in #1547 (load_recording_from_msid(), load_recording_from_mbid(), to support doing lookups in one query.

Both functions were renamed and changed so that they take in a list of UUID's instead of just one, and return a list of dicts in the same order instead of just one dict.

@pep8speaks
Copy link

pep8speaks commented Jul 30, 2021

Hello @jdaok! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found:

There are currently no PEP 8 issues detected in this Pull Request. Cheers! 🍻

Comment last updated at 2021-07-30 11:30:32 UTC

Copy link
Member

@mayhem mayhem left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, thanks!

@mayhem mayhem merged commit 6e7ea01 into metabrainz:master Aug 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants