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

Add an endpoint to get all donors with flairs #2988

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

amCap1712
Copy link
Member

No description provided.

@pep8speaks
Copy link

pep8speaks commented Sep 27, 2024

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

Line 199:27: W292 no newline at end of file

Comment last updated at 2024-10-24 17:21:23 UTC

@amCap1712 amCap1712 requested a review from mayhem October 15, 2024 08:09
@MonkeyDo MonkeyDo changed the base branch from master to donations October 17, 2024 11:08
@crossdomain
@ratelimit()
def all_flairs():
""" Get flairs (including expired ones) for all users """
Copy link
Member

Choose a reason for hiding this comment

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

I think we need more details in this endpoint documentation. What does this endpoint return? Does the caller need to care about expired flairs?

Copy link
Member Author

Choose a reason for hiding this comment

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

fixed.

@@ -27,6 +27,8 @@ def update_flair():
if "flair" not in request.json:
raise APIBadRequest("Missing flair")

# todo: add flair validation
Copy link
Member

Choose a reason for hiding this comment

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

Does this need to be done now or add a ticket?

Copy link
Member Author

Choose a reason for hiding this comment

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

this needs to be done (if at all) after the structure of the flairs has been decided.

@MonkeyDo MonkeyDo mentioned this pull request Oct 24, 2024
@amCap1712 amCap1712 requested a review from mayhem October 24, 2024 17:21
Base automatically changed from donations to master October 25, 2024 10:51
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

Successfully merging this pull request may close these issues.

3 participants