Skip to content

Commit

Permalink
Updated format_json() docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
jjoeldaniel committed Dec 25, 2022
1 parent ef7f949 commit 463b89e
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion geniusdotpy/utils.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
import json

def format_json(json_object):
"""Formats JSON object to be more readable"""
"""Formats JSON object to be more readable
Keyword arguments:
json_object -- The JSON object to format
Returns:
JSON object
"""
return json.dumps(json_object, indent=2)

0 comments on commit 463b89e

Please sign in to comment.