Exemplo n.º 1
0
 def format_icon(self):
     f = request.params.get('format')
     out = {
         'format': f,
         'icon': h.icon_url(h.format_icon(f))
     }
     return self._finish_ok(out)
Exemplo n.º 2
0
 def format_icon(self):
     f = request.params.get('format')
     out = {
         'format': f,
         'icon': h.icon_url(h.format_icon(f))
     }
     return self._finish_ok(out)
Exemplo n.º 3
0
Arquivo: api.py Projeto: jgrocha/ckan
 def format_icon(self):
     f = request.params.get("format")
     out = {"format": f, "icon": h.icon_url(h.format_icon(f))}
     return self._finish_ok(out)