bug fix: layout providers

v2.0
Steve Nyemba 7 months ago
parent 549cc20824
commit 4b97994ec1

@ -80,7 +80,11 @@ def supported (format:str="table") :
This function will print supported providers and their associated classifications This function will print supported providers and their associated classifications
""" """
_df = (transport.supported()) _df = (transport.supported())
if format in ['list','json'] :
print (json.dumps(_df.to_dict(orient="list"))) print (json.dumps(_df.to_dict(orient="list")))
else:
print (_df)
print ()
@app.command() @app.command()
def version(): def version():

Loading…
Cancel
Save