Example #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,
     }
Example #2
0
 def __init__(self, *args, **kwargs):
     RestApi.__init__(self, *args, **kwargs)
     self.representations = {
         "application/json": output_json,
     }
Example #3
0
 def __init__(self, *args, **kwargs):
     RestApi.__init__(self, *args, **kwargs)
     self.representations = {
         "application/json": output_json,
     }