(obj, key)
| 78 | |
| 79 | |
| 80 | def get_comment(obj, key) -> dict | None: |
| 81 | owner, key = obj._comment_owner(key) |
| 82 | if key is None: |
| 83 | return public(owner._comment_document(create=False)) |
| 84 | store = owner._comment_store(create=False) |
| 85 | return public(store.get(key)) if store else None |
| 86 | |
| 87 | |
| 88 | def set_comment(obj, key, text, position=None) -> None: |
nothing calls this directly
no test coverage detected