# Path: airy/core/serializers/json.py
# class JSONSerializer(BaseSerializer):
# 
#     def serialize(self, queryset):
#         return simplejson.dumps(super(JSONSerializer, self).to_python(queryset))


from airy.core.web import *
from airy.core.db import *
from airy.core.serializers.json import JSONSerializer

def expose_method(f):
    def wrapped(self, *args, **kwargs):
        if f.__name__ in self.methods:

# Path: airy/core/serializers/json.py
# class JSONSerializer(BaseSerializer):
# 
#     def serialize(self, queryset):
#         return simplejson.dumps(super(JSONSerializer, self).to_python(queryset))


# Path: airy/contrib/api/handlers.py
from airy.core.web import *
from airy.core.db import *
from airy.core.serializers.json import JSONSerializer


def expose_method(f):
    def wrapped(self, *args, **kwargs):
        if f.__name__ in self.methods:

            return f(self, *args, **kwargs)