MCPcopy Create free account
hub / github.com/cdgriffith/Box / get_comment

Method get_comment

box/box.py:148–150  ·  view source on GitHub ↗

The comments of an item (see ``BoxList.get_comment``), ``None`` for the document comments.

(self, key: Any = None)

Source from the content-addressed store, hash-verified

146 raise BoxKeyError(f"{key!r} is not in the frozen list, comments can only be attached to existing items")
147
148 def get_comment(self, key: Any = None) -> dict | None:
149 """The comments of an item (see ``BoxList.get_comment``), ``None`` for the document comments."""
150 return _comments.get_comment(self, key)
151
152 def set_comment(self, key: Any, text: Any, position: str | None = None) -> None:
153 _comments.set_comment(self, key, text, position)

Callers

nothing calls this directly

Calls 1

get_commentMethod · 0.45

Tested by

no test coverage detected