diff options
author | 2019-08-15 18:25:30 +0200 | |
---|---|---|
committer | 2019-08-15 18:25:30 +0200 | |
commit | 98633ecd4f6914365f8c51678d97415672b2359f (patch) | |
tree | dada65495fc5b41da24132ac6ea05e6896dcbcf5 | |
parent | Adding position, role hierarchy comparisons to Role model; top_role to User m... (diff) |
Adding missing docstring in public method
-rw-r--r-- | pydis_site/apps/api/models/bot/user.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pydis_site/apps/api/models/bot/user.py b/pydis_site/apps/api/models/bot/user.py index 1c566989..8049d319 100644 --- a/pydis_site/apps/api/models/bot/user.py +++ b/pydis_site/apps/api/models/bot/user.py @@ -54,4 +54,5 @@ class User(ModelReprMixin, models.Model): @property def top_role(self) -> Role: + """Attribute that returns the user's top role.""" return max(self.roles.all()) |