Skip to content

Commit

Permalink
Merge e00357d into 0fbf964
Browse files Browse the repository at this point in the history
  • Loading branch information
flionetti committed Oct 8, 2020
2 parents 0fbf964 + e00357d commit 74c2a17
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/litmos/user.py
Expand Up @@ -59,6 +59,16 @@ def teams(self):
)
)

def courses(self):
from litmos.course import Course
return Course._parse_response(
API.get_sub_resource(
self.__class__.name(),
self.Id,
'courses'
)
)

def set_manager(self, manager):
if type(manager)==User:
self.ManagerId = manager.Id
Expand Down

0 comments on commit 74c2a17

Please sign in to comment.