| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 7715567 commit d64edcb
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -36,10 +36,9 @@ For example:: | |||
| 36 | 36 | ||
| 37 | 37 | Mark a todo as done:: | |
| 38 | 38 | ||
| 39 | - gl.todos.delete(todo_id) | ||
| 40 | - # or | ||
| 41 | - todo.delete() | ||
| 39 | + todos = gl.todos.list(project_id=1) | ||
| 40 | + todos[0].mark_as_done() | ||
| 42 | 41 | ||
| 43 | 42 | Mark all the todos as done:: | |
| 44 | 43 | ||
| 45 | - nb_of_closed_todos = gl.todos.delete_all() | ||
| 44 | + gl.todos.mark_all_as_done() | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments