aboutsummaryrefslogtreecommitdiffstats
path: root/pygithub3/resources/users.py
diff options
context:
space:
mode:
Diffstat (limited to 'pygithub3/resources/users.py')
-rw-r--r--pygithub3/resources/users.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/pygithub3/resources/users.py b/pygithub3/resources/users.py
index 7e40025..5485bf6 100644
--- a/pygithub3/resources/users.py
+++ b/pygithub3/resources/users.py
@@ -6,6 +6,12 @@ from .base import Resource
__all__ = ('Plan', 'User')
+class Key(Resource):
+
+ def __str__(self):
+ return '<Key (%s)>' % getattr(self, 'title', '')
+
+
class Plan(Resource):
def __str__(self):