MCPcopy Create free account
hub / github.com/brimdata/super / query

Method query

python/superdb/superdb.py:57–60  ·  view source on GitHub ↗
(self, query)

Source from the content-addressed store, hash-verified

55 self.__raise_for_status(r)
56
57 def query(self, query):
58 r = self.query_raw(query)
59 jsup = (json.loads(line) for line in r.iter_lines() if line)
60 return decode_jsup(jsup)
61
62 def query_raw(self, query, headers=None):
63 r = self.session.post(self.base_url + '/query', headers=headers,

Callers

nothing calls this directly

Calls 2

query_rawMethod · 0.95
decode_jsupFunction · 0.85

Tested by

no test coverage detected