Skip to content

Commit

Permalink
Update documents.rst
Browse files Browse the repository at this point in the history
  • Loading branch information
duckduckgrayduck committed Mar 26, 2024
1 parent 4b6fd88 commit bfbed2a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/documents.rst
Expand Up @@ -66,7 +66,7 @@ DocumentClient

>>> from documentcloud import DocumentCloud
>>> client = DocumentCloud(USERNAME, PASSWORD)
>>> new_id = client.documents.upload("/home/ben/test.pdf", "Test PDF")
>>> new_id = client.documents.upload("/home/ben/test.pdf", title="Test PDF")
>>> # Now fetch it
>>> client.documents.get(new_id)
<Document: Test PDF>
Expand Down

0 comments on commit bfbed2a

Please sign in to comment.