Skip to content

Commit

Permalink
add trends logging
Browse files Browse the repository at this point in the history
  • Loading branch information
nissamai committed Apr 6, 2022
1 parent b4a66b0 commit 8fe8906
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions sefaria/model/trend.py
Original file line number Diff line number Diff line change
Expand Up @@ -698,13 +698,19 @@ def setScheduleTraits():
scheduleManager.getUsersWhoAreLearningSchedule()

def setAllTrends(skip=[]):
print("setAllTrends")
if "userSheet" not in skip:
print("setUserSheetTraits")
setUserSheetTraits()
if "sheet" not in skip:
print("setSheetTraits")
setSheetTraits()
if "userLanguage" not in skip:
print("setUserLanguageTraits")
setUserLanguageTraits()
if "category" not in skip:
print("setCategoryTraits")
setCategoryTraits()
if "schedule" not in skip:
print("setScheduleTraits")
setScheduleTraits()

0 comments on commit 8fe8906

Please sign in to comment.