MCPcopy Create free account
hub / github.com/TimMcCool/scratchattach / put

Method put

scratchattach/utils/requests.py:278–286  ·  view source on GitHub ↗
(self, *args, **kwargs)

Source from the content-addressed store, hash-verified

276
277 @override
278 def put(self, *args, **kwargs):
279 kwargs.setdefault("proxies", proxies)
280 try:
281 r = super().put(*args, **kwargs)
282 except Exception as e:
283 raise exceptions.FetchError(e)
284 if self.error_handling:
285 self.check_response(r)
286 return r
287
288 @contextmanager
289 def no_error_handling(self) -> Iterator[None]:

Callers 15

set_bioMethod · 0.80
set_wiwoMethod · 0.80
set_featuredMethod · 0.80
followMethod · 0.80
unfollowMethod · 0.80
set_jsonMethod · 0.80
set_fieldsMethod · 0.80
shareMethod · 0.80
unshareMethod · 0.80
set_descriptionMethod · 0.80
set_working_onMethod · 0.80
set_titleMethod · 0.80

Calls 1

check_responseMethod · 0.95

Tested by

no test coverage detected