示例#1
0
 def __init__(self, *args, **kwargs):
     Api.__init__(self, *args, **kwargs)
     self.representations = {
         # 'application/xml': output_xml,
         # 'text/html': output_html,
         # 'text/csv': output_csv,
         'application/json': output_json,
     }
示例#2
0
 def __init__(self, *args, **kwargs):
     RestApi.__init__(self, *args, **kwargs)
     self.representations = {
         "application/json": output_json,
     }
示例#3
0
 def __init__(self, *args, **kwargs):
     RestApi.__init__(self, *args, **kwargs)
     self.representations = {
         "application/json": output_json,
     }