You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -60,7 +60,7 @@ You can also inspect the document URL and title.
60
60
61
61
### Interacting with documents
62
62
63
-
Documents in the Python Core API library are immutable objects. To perform a transition we use the `.action()` function and assign the resulting new document.
63
+
Documents in the Python Core API library are immutable objects. To perform a transition we use the `coreapi.action()` function and assign the resulting new document.
64
64
65
65
>>> doc = coreapi.action(doc, ['add_note'], params={'description': 'My new note.'})
0 commit comments