def all(): return [CustomBadge(badge_type) for badge_type in CustomBadgeType.all()]
def all(): custom_badges = [] custom_badge_types = CustomBadgeType.all().fetch(1000) for custom_badge_type in custom_badge_types: custom_badges.append(CustomBadge(custom_badge_type)) return custom_badges
def all(): custom_badges = [] custom_badge_types = CustomBadgeType.all().fetch(1000) for custom_badge_type in custom_badge_types: custom_badges.append(CustomBadge(custom_badge_type)) return custom_badges