Skip to content
This repository has been archived by the owner on Sep 7, 2020. It is now read-only.

Commit

Permalink
Doc formatting.
Browse files Browse the repository at this point in the history
  • Loading branch information
anthonydb committed Mar 10, 2016
1 parent f8dbdd4 commit 0fec1b8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/database.rst
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ If you're coming back to an old database, or you forgot to dump the CSV while th
Updating database contents
--------------------------

The API response to a DocumentCloud upload does not include an actual value for `pages` or `file_hash`. These are calculated as part of DocumentCloud's processing of the document. Once your documents are finished processing, you can use pneumatic to go back and retrieve those values with the ``update_processed_files`` method.
The API response to a DocumentCloud upload does not include an actual value for ``pages`` or ``file_hash``. These are calculated as part of DocumentCloud's processing of the document. Once your documents are finished processing, you can use pneumatic to go back and retrieve those values with the ``update_processed_files`` method.

You can use the method within a current session, which will update the database active in the session, or you can pass in the name of any other database file pneumatic created.

Expand All @@ -70,5 +70,5 @@ To come back to an older database and process it:
uploader = DocumentCloudUploader('[email protected]', 'your-password')
uploader.update_processed_files('path/to/file.db')
Currently, only `title`, `pages` and `file_hash` are updated.
Currently, only ``title``, ``pages`` and ``file_hash`` are updated.

0 comments on commit 0fec1b8

Please sign in to comment.