-
Notifications
You must be signed in to change notification settings - Fork 72
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
Scissors - Maria M. #62
base: master
Are you sure you want to change the base?
Conversation
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.
Great work! Just a few comments below
@@ -1,7 +1,7 @@ | |||
import pytest | |||
from viewing_party.main import * | |||
|
|||
|
|||
""" |
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.
I'm curious why you have these tests commented out. They seem to pass when I uncomment them
watched_list = user_data["watched"] | ||
for movie in watched_list: | ||
for movie_val in movie.values(): | ||
if type(movie_val) == float: |
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.
I'm curious why this line was added. It seems like it might be more appropriate for the function to add numbers even if they aren't float type.
for movie_dict in user_watched_list: | ||
for movie, movie_title in movie_dict.items(): | ||
user_titles.append(movie_title) | ||
print(user_titles) |
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.
Its generally best to remove print statements like this that aren't required before committing and/or submitting
print(u_unique_dict_list) | ||
return u_unique_dict_list | ||
|
||
def find_user_diff(unique_list, comp_list): |
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.
Love that you made your own custom helper function!
No description provided.