Skip to content

Commit

Permalink
v4.1.0
Browse files Browse the repository at this point in the history
Add `revision_control` as an allowed upload parameter.
  • Loading branch information
mitchelljkotler committed Mar 6, 2024
1 parent baae057 commit 7a7d425
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
5 changes: 5 additions & 0 deletions docs/changelog.rst
@@ -1,5 +1,10 @@
Changelog
---------

4.1.0
~~~~~
* Add `revision_control` as an allowed upload parameter.

4.0.1
~~~~~
* Reformats some strings in tests to conform to pylint standards.
Expand Down
1 change: 1 addition & 0 deletions documentcloud/documents.py
Expand Up @@ -312,6 +312,7 @@ def _format_upload_parameters(self, name, **kwargs):
"force_ocr",
"projects",
"delayed_index",
"revision_control",
]
# these parameters currently do not work, investigate...
ignored_parameters = ["secure"]
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Expand Up @@ -7,7 +7,7 @@

setup(
name="python-documentcloud",
version="4.0.1",
version="4.0.2",
description="A simple Python wrapper for the DocumentCloud API",
author="Mitchell Kotler",
author_email="mitch@muckrock.com",
Expand Down

0 comments on commit 7a7d425

Please sign in to comment.