Added module renderers json tsv csv xml

This commit is contained in:
DiG 2022-01-16 19:22:38 +01:00
parent ec48c3b5df
commit 065b3ff0ff
1 changed files with 1 additions and 1 deletions

View File

@ -44,7 +44,7 @@ def render_csv( model, list ):
csv( *[ obj[col] for col in _cols] )
def render_json( model, list ):
json( list.read )
json( list.read() )
#def render_json( model, obj ):
def render( opts, model, list ): # +format=json,xml,csv +json +tsv