-
Notifications
You must be signed in to change notification settings - Fork 378
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: Rewrite community feed as Feed class #7254
refactor: Rewrite community feed as Feed class #7254
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #7254 +/- ##
========================================
Coverage 88.78% 88.79%
========================================
Files 296 305 +9
Lines 41320 41543 +223
========================================
+ Hits 36687 36889 +202
- Misses 4633 4654 +21 ☔ View full report in Codecov by Sentry. |
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.
Hi Paul - making notes. Still hoping to bring this in, but not asking yout to make changes.
def get_object(self, request, *args, **kwargs): | ||
email_or_name = kwargs["email_or_name"] | ||
acronym = kwargs["acronym"] | ||
clist = lookup_community_list(request, email_or_name, acronym) |
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.
This can now return 404
def __call__(self, request, *args, **kwargs): | ||
try: | ||
return super(CommunityFeed, self).__call__(request, *args, **kwargs) | ||
except MultiplePersonError as err: |
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.
this is no longer raised in this codepath
No description provided.