MCPcopy Create free account
hub / github.com/ScienciaLAB/document-qa / get

Method get

document_qa/ner_client_generic.py:143–153  ·  view source on GitHub ↗

Call the API with a GET request. Args: url (str): Resource location relative to the base URL. params (dict or None): Query-string parameters. Returns: ResultParser or ErrorParser.

(self, url, params=None, **kwargs)

Source from the content-addressed store, hash-verified

141 return r, r.status_code
142
143 def get(self, url, params=None, **kwargs):
144 """Call the API with a GET request.
145
146 Args:
147 url (str): Resource location relative to the base URL.
148 params (dict or None): Query-string parameters.
149
150 Returns:
151 ResultParser or ErrorParser.
152 """
153 return self.call_api("GET", url, params=params, **kwargs)
154
155 def delete(self, url, params=None, **kwargs):
156 """Call the API with a DELETE request.

Callers 7

init_qaFunction · 0.80
process_structureMethod · 0.80
analyse_queryMethod · 0.80
ping_serviceMethod · 0.80
run_embedFunction · 0.80

Calls 1

call_apiMethod · 0.95

Tested by

no test coverage detected