diff options
author | 2021-07-22 13:51:28 +0530 | |
---|---|---|
committer | 2021-07-22 13:51:28 +0530 | |
commit | e7b4da7955c100d42536e298ffc9966dd9f95c48 (patch) | |
tree | 383d1eafbff84db52b42a111e13cc24c20201756 /pydis_site/apps/api/serializers.py | |
parent | Use sets to compare 2 un-ordered lists. (diff) |
Update docstring.
Diffstat (limited to 'pydis_site/apps/api/serializers.py')
-rw-r--r-- | pydis_site/apps/api/serializers.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pydis_site/apps/api/serializers.py b/pydis_site/apps/api/serializers.py index 0d505675..957c85f3 100644 --- a/pydis_site/apps/api/serializers.py +++ b/pydis_site/apps/api/serializers.py @@ -207,7 +207,7 @@ class OffTopicChannelNameListSerializer(ListSerializer): def to_representation(self, objects: List[OffTopicChannelName]) -> List[str]: """ - Return the representation of this `OffTopicChannelName`. + Return a list representing a list of `OffTopicChannelName`. This only returns the name of the off topic channel name. As the model only has a single attribute, it is unnecessary to create a nested dictionary. |