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