Skip to content

Commit 429d98a

Browse files
fixup: don't use "We" in docstring
Co-authored-by: Mark <[email protected]>
1 parent cb52e60 commit 429d98a

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

pydis_site/apps/api/serializers.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,7 @@ def to_representation(self, objects: list[BumpedThread]) -> int:
4949
"""
5050
Used by the `ListModelMixin` to return just the list of bumped thread ids.
5151
52-
We want to only return the thread_id attribute, hence it is unnecessary
53-
to create a nested dictionary.
52+
Only the thread_id field is useful, hence it is unnecessary to create a nested dictionary.
5453
5554
Additionally, this allows bumped thread routes to simply return an
5655
array of thread_id ints instead of objects, saving on bandwidth.

0 commit comments

Comments
 (0)