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

Method delete

document_qa/ner_client_generic.py:155–165  ·  view source on GitHub ↗

Call the API with a DELETE 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

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.
157
158 Args:
159 url (str): Resource location relative to the base URL.
160 params (dict or None): Query-string parameters.
161
162 Returns:
163 ResultParser or ErrorParser.
164 """
165 return self.call_api("DELETE", url, params=params, **kwargs)
166
167 def put(self, url, params=None, data=None, files=None, **kwargs):
168 """Call the API with a PUT request.

Callers

nothing calls this directly

Calls 1

call_apiMethod · 0.95

Tested by

no test coverage detected