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

Method turn_on_commenting

scratchattach/site/project.py:603–608  ·  view source on GitHub ↗

Enables commenting on the project. You can only use this function if this object was created using :meth:`scratchattach.session.Session.connect_project`

(self)

Source from the content-addressed store, hash-verified

601 self.set_fields(data)
602
603 def turn_on_commenting(self):
604 """
605 Enables commenting on the project. You can only use this function if this object was created using :meth:`scratchattach.session.Session.connect_project`
606 """
607 data = {"comments_allowed": True}
608 self.set_fields(data)
609
610 def toggle_commenting(self):
611 """

Callers

nothing calls this directly

Calls 1

set_fieldsMethod · 0.95

Tested by

no test coverage detected