Permalink
Browse files

Refs #9558 - Prepare sparql daviz.json for annotations

  • Loading branch information...
1 parent cf8755a commit 1a5aeda228d5af95ebcfdac5c0ed7f349034f65b @avoinea avoinea committed Jan 31, 2013
Showing with 4 additions and 1 deletion.
  1. +4 −1 eea/sparql/browser/sparql.py
@@ -67,9 +67,12 @@ def test_query(self):
}
return options
- def json(self, column_types=None):
+ def json(self, **kwargs):
"""json"""
data = self.context.execute_query()
+
+ column_types = kwargs.get('column_types')
+ #annotations = kwargs.get('annotations')
return sortProperties(json.dumps(sparql2json(data, column_types)))
def sparql2exhibit(self):

0 comments on commit 1a5aeda

Please sign in to comment.