Example #1
0
class EchoArgsPage(retwist.JsonResource):

    id = retwist.Param(required=True)
    show_details = retwist.BoolParam()

    def json_GET(self, request):
        return request.url_args
Example #2
0
class DemoPage(retwist.ParamResource):

    id = retwist.Param(required=True)
    uuid = retwist.UUIDParam()
    show_details = retwist.BoolParam()
    def_param = retwist.BoolParam(name="def")
class DemoPage(retwist.ParamResource):

    id = retwist.Param(required=True)
    show_details = retwist.BoolParam()