| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent b411e5a commit 2ef6452
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -75,6 +75,12 @@ You can get and update a single note using the ``*DiscussionNote`` resources:: | |||
| 75 | 75 | last_note.body = 'Updated comment' | |
| 76 | 76 | last_note.save() | |
| 77 | 77 | ||
| 78 | + Resolve / unresolve a note:: | ||
| 79 | + | ||
| 80 | + last_note = discussion.notes.get(note_id) | ||
| 81 | + last_note.resolved = True # True to resolve, False to unresolve | ||
| 82 | + last_note.save() | ||
| 83 | + | ||
| 78 | 84 | Create a new discussion:: | |
| 79 | 85 | ||
| 80 | 86 | discussion = resource.discussions.create({'body': 'First comment of discussion'}) | |
| Back | FazBrowse Home | New Git URL |
0 commit comments