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

Method update

scratchattach/site/comment.py:45–47  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

43 return self.text
44
45 def update(self):
46 warnings.warn("Warning: Comment objects can't be updated")
47 return False # Objects of this type cannot be updated
48
49 def _update_from_dict(self, data: dict[str, str | dict | Any]):
50 self.id = data["id"]

Callers 15

_get_objectFunction · 0.45
__init__Method · 0.45
lovesMethod · 0.45
load_descriptionMethod · 0.45
downloadMethod · 0.45
get_jsonMethod · 0.45
raw_jsonMethod · 0.45
__rich__Method · 0.45
mystuff_classesMethod · 0.45
parent_commentMethod · 0.45
repliesMethod · 0.45
replyMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected