Skip to content

Commit

Permalink
removed unused function
Browse files Browse the repository at this point in the history
  • Loading branch information
The-Alchemist committed Aug 12, 2019
1 parent 5b804e1 commit 3ed98fe
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions redash/query_runner/dgraph.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,7 @@
enabled = False

from redash.query_runner import BaseQueryRunner, register
from redash.utils import json_dumps, json_loads


def to_string(s):
"""From https://github.com/vinay20045/json-to-csv"""
try:
return str(s)
except:
# Change the encoding type if needed
return s.encode('utf-8')
from redash.utils import json_dumps


def reduce_item(reduced_item, key, value):
Expand Down

0 comments on commit 3ed98fe

Please sign in to comment.