Skip to content

Added popular function to API#105

Merged
bee-san merged 6 commits intomainfrom
popular-API
May 21, 2021
Merged

Added popular function to API#105
bee-san merged 6 commits intomainfrom
popular-API

Conversation

@Jayy001
Copy link
Contributor

@Jayy001 Jayy001 commented May 16, 2021

  • Blacked everything
  • Added popular API

Had some issues with getting this, I wanted it to remove all the hash types from the dict if it wasn't in the popular list but for some reason it would only remove a few, yet, if I did it the opposite way (making a new list and then appending) ones, it worked fine. Drove me nuts for a bit. Couldn't find any other cleaner way :(. - If you knew why it was doing this please tell me! :)

@Jayy001 Jayy001 requested a review from bee-san May 16, 2021 14:22
Copy link
Owner

@bee-san bee-san left a comment

Choose a reason for hiding this comment

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

Looking good! Left some comments. Also:

  1. You need tests (both click and function)
  2. API documentation needs to be updated for this :-)
@Jayy001
Copy link
Contributor Author

Jayy001 commented May 16, 2021

Should be all good :)

Indent problem didn't go thrugh.
Copy link
Owner

@bee-san bee-san left a comment

Choose a reason for hiding this comment

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

I also asked for click tests :)

@bee-san
Copy link
Owner

bee-san commented May 20, 2021

Lol I tried to fix your merge conflicts and it broke everything sorry

@bee-san bee-san merged commit b0095fa into main May 21, 2021
@bee-san bee-san deleted the popular-API branch May 21, 2021 09:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants