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

Method query_raw

python/superdb/superdb.py:62–66  ·  view source on GitHub ↗
(self, query, headers=None)

Source from the content-addressed store, hash-verified

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,
64 json={'query': query}, stream=True)
65 self.__raise_for_status(r)
66 return r
67
68 @staticmethod
69 def __raise_for_status(response):

Callers 1

queryMethod · 0.95

Calls 2

__raise_for_statusMethod · 0.95
postMethod · 0.80

Tested by

no test coverage detected