From 7a7d425ff8eb7f0e2d97549654ac8fe0c92678b8 Mon Sep 17 00:00:00 2001 From: Mitchell Kotler Date: Wed, 6 Mar 2024 14:55:38 -0500 Subject: [PATCH] v4.1.0 Add `revision_control` as an allowed upload parameter. --- docs/changelog.rst | 5 +++++ documentcloud/documents.py | 1 + setup.py | 2 +- 3 files changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/changelog.rst b/docs/changelog.rst index fab318e..168517f 100644 --- a/docs/changelog.rst +++ b/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. diff --git a/documentcloud/documents.py b/documentcloud/documents.py index 0edb1c3..0d417a1 100644 --- a/documentcloud/documents.py +++ b/documentcloud/documents.py @@ -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"] diff --git a/setup.py b/setup.py index fe9dc50..a2ce4be 100644 --- a/setup.py +++ b/setup.py @@ -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",