Skip to content

Commit

Permalink
Merge branch 'develop' into f-list-batches
Browse files Browse the repository at this point in the history
merge from dev
  • Loading branch information
Artem Saprykin committed Apr 18, 2019
2 parents 11554c2 + 09a98df commit 72976b3
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions cli/utils.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
"""
Provide utils for command line interface.
"""
import json


def dict_to_pretty_json(data):
"""
Convert dictionary to string with indents as human readable text.
"""
return json.dumps(data, indent=4, sort_keys=True)

0 comments on commit 72976b3

Please sign in to comment.