python-documentcloud 3.3.4__tar.gz → 3.3.6__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {python-documentcloud-3.3.4/python_documentcloud.egg-info → python-documentcloud-3.3.6}/PKG-INFO +1 -1
- {python-documentcloud-3.3.4 → python-documentcloud-3.3.6}/documentcloud/addon.py +1 -1
- {python-documentcloud-3.3.4 → python-documentcloud-3.3.6}/documentcloud/base.py +8 -2
- {python-documentcloud-3.3.4 → python-documentcloud-3.3.6/python_documentcloud.egg-info}/PKG-INFO +1 -1
- {python-documentcloud-3.3.4 → python-documentcloud-3.3.6}/setup.py +1 -1
- {python-documentcloud-3.3.4 → python-documentcloud-3.3.6}/LICENSE +0 -0
- {python-documentcloud-3.3.4 → python-documentcloud-3.3.6}/README.md +0 -0
- {python-documentcloud-3.3.4 → python-documentcloud-3.3.6}/documentcloud/__init__.py +0 -0
- {python-documentcloud-3.3.4 → python-documentcloud-3.3.6}/documentcloud/annotations.py +0 -0
- {python-documentcloud-3.3.4 → python-documentcloud-3.3.6}/documentcloud/client.py +0 -0
- {python-documentcloud-3.3.4 → python-documentcloud-3.3.6}/documentcloud/constants.py +0 -0
- {python-documentcloud-3.3.4 → python-documentcloud-3.3.6}/documentcloud/documents.py +0 -0
- {python-documentcloud-3.3.4 → python-documentcloud-3.3.6}/documentcloud/exceptions.py +0 -0
- {python-documentcloud-3.3.4 → python-documentcloud-3.3.6}/documentcloud/organizations.py +0 -0
- {python-documentcloud-3.3.4 → python-documentcloud-3.3.6}/documentcloud/projects.py +0 -0
- {python-documentcloud-3.3.4 → python-documentcloud-3.3.6}/documentcloud/sections.py +0 -0
- {python-documentcloud-3.3.4 → python-documentcloud-3.3.6}/documentcloud/toolbox.py +0 -0
- {python-documentcloud-3.3.4 → python-documentcloud-3.3.6}/documentcloud/users.py +0 -0
- {python-documentcloud-3.3.4 → python-documentcloud-3.3.6}/python_documentcloud.egg-info/SOURCES.txt +0 -0
- {python-documentcloud-3.3.4 → python-documentcloud-3.3.6}/python_documentcloud.egg-info/dependency_links.txt +0 -0
- {python-documentcloud-3.3.4 → python-documentcloud-3.3.6}/python_documentcloud.egg-info/requires.txt +0 -0
- {python-documentcloud-3.3.4 → python-documentcloud-3.3.6}/python_documentcloud.egg-info/top_level.txt +0 -0
- {python-documentcloud-3.3.4 → python-documentcloud-3.3.6}/setup.cfg +0 -0
|
@@ -243,7 +243,7 @@ class SoftTimeOutAddOn(AddOn):
|
|
|
243
243
|
# If documents were passed in by ID, pass in the remaining documents by ID
|
|
244
244
|
options["documents"] = [d.id for d in self._documents_iter]
|
|
245
245
|
if include_current:
|
|
246
|
-
options["documents"].insert(0, self._current_document)
|
|
246
|
+
options["documents"].insert(0, self._current_document.id)
|
|
247
247
|
elif self.query:
|
|
248
248
|
# If documents were passed in by query, get the id from the next
|
|
249
249
|
# document, and add that in to the data under a reserved name, so
|
|
@@ -23,6 +23,7 @@ class APIResults(object):
|
|
|
23
23
|
):
|
|
24
24
|
if extra is None:
|
|
25
25
|
extra = {}
|
|
26
|
+
self.extra = extra
|
|
26
27
|
|
|
27
28
|
self.resource = resource
|
|
28
29
|
self.client = client
|
|
@@ -34,7 +35,7 @@ class APIResults(object):
|
|
|
34
35
|
self._next = next_
|
|
35
36
|
self._previous = previous
|
|
36
37
|
self.results = [
|
|
37
|
-
resource(client, merge_dicts(r, extra)) for r in json["results"]
|
|
38
|
+
resource(client, merge_dicts(r, self.extra)) for r in json["results"]
|
|
38
39
|
]
|
|
39
40
|
|
|
40
41
|
def __repr__(self):
|
|
@@ -66,7 +67,12 @@ class APIResults(object):
|
|
|
66
67
|
if url:
|
|
67
68
|
response = self.client.get(url, full_url=True)
|
|
68
69
|
return APIResults(
|
|
69
|
-
self.resource,
|
|
70
|
+
self.resource,
|
|
71
|
+
self.client,
|
|
72
|
+
response,
|
|
73
|
+
extra=self.extra,
|
|
74
|
+
next_=next_,
|
|
75
|
+
previous=previous,
|
|
70
76
|
)
|
|
71
77
|
else:
|
|
72
78
|
return None
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{python-documentcloud-3.3.4 → python-documentcloud-3.3.6}/python_documentcloud.egg-info/SOURCES.txt
RENAMED
|
File without changes
|
|
File without changes
|
{python-documentcloud-3.3.4 → python-documentcloud-3.3.6}/python_documentcloud.egg-info/requires.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|