from api.base import BaseApi
from model.Activity import Activity


class possibleMode(BaseApi):

    def get(self):
        activities = Activity._get_collection().find({})
        return self.success(map(lambda a: str(a['name'][0]).upper(),
            activities))

29670675d790120be4fb12bf9cede11b90e8a236
<mask token>

<mask token>


class possibleMode(BaseApi):
    <mask token>

<mask token>


class possibleMode(BaseApi):

    def get(self):
        activities = Activity._get_collection().find({})
        return self.success(map(lambda a: str(a['name'][0]).upper(),
            activities))

from api.base import BaseApi
from model.Activity import Activity


class possibleMode(BaseApi):

    def get(self):
        activities = Activity._get_collection().find({})
        return self.success(map(lambda a: str(a['name'][0]).upper(),
            activities))
