def get_weekly_dashboard_stats(user_id):
 model = user_models.UserStatsModel.get(user_id, strict=False)
 if (model and model.weekly_creator_stats_list):
  return model.weekly_creator_stats_list
 else:
  return None

def get_weekly_dashboard_stats ( user_id ) : model = user_models . UserStatsModel . get ( user_id , strict = False ) if ( model and model . weekly_creator_stats_list ) : return model . weekly_creator_stats_list else : return None
gets weekly dashboard stats for a given user_id .