Skip to content

Commit

Permalink
Merge pull request #443 from openedx/cag/fix-cache-sso
Browse files Browse the repository at this point in the history
fix: remove cache for get_courses
  • Loading branch information
Ian2012 authored Oct 3, 2023
2 parents 25e8bbf + ff5c9c5 commit e843ce9
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,6 @@ def extra_get_user_roles(self, username, decoded_access_token):
{{patch("superset-sso-assignment-rules") | indent(8)}}
return None

@lru_cache(maxsize=LRU_CACHE_MAX_SIZE)
def get_courses(self, username, permission="staff", next_url=None):
"""
Returns the list of courses the current user has access to.
Expand Down

0 comments on commit e843ce9

Please sign in to comment.