sapling-py 4.0.1__tar.gz → 4.0.2__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.
- {sapling-py-4.0.1/sapling_py.egg-info → sapling_py-4.0.2}/PKG-INFO +2 -1
- {sapling-py-4.0.1 → sapling_py-4.0.2}/sapling/client.py +2 -4
- sapling_py-4.0.2/sapling/version.py +1 -0
- {sapling-py-4.0.1 → sapling_py-4.0.2/sapling_py.egg-info}/PKG-INFO +2 -1
- sapling-py-4.0.1/sapling/version.py +0 -1
- {sapling-py-4.0.1 → sapling_py-4.0.2}/LICENSE +0 -0
- {sapling-py-4.0.1 → sapling_py-4.0.2}/README.md +0 -0
- {sapling-py-4.0.1 → sapling_py-4.0.2}/sapling/__init__.py +0 -0
- {sapling-py-4.0.1 → sapling_py-4.0.2}/sapling_py.egg-info/SOURCES.txt +0 -0
- {sapling-py-4.0.1 → sapling_py-4.0.2}/sapling_py.egg-info/dependency_links.txt +0 -0
- {sapling-py-4.0.1 → sapling_py-4.0.2}/sapling_py.egg-info/requires.txt +0 -0
- {sapling-py-4.0.1 → sapling_py-4.0.2}/sapling_py.egg-info/top_level.txt +0 -0
- {sapling-py-4.0.1 → sapling_py-4.0.2}/setup.cfg +0 -0
- {sapling-py-4.0.1 → sapling_py-4.0.2}/setup.py +0 -0
- {sapling-py-4.0.1 → sapling_py-4.0.2}/test/__init__.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: sapling-py
|
|
3
|
-
Version: 4.0.
|
|
3
|
+
Version: 4.0.2
|
|
4
4
|
Summary: Sapling Python Client
|
|
5
5
|
Home-page: https://sapling.ai
|
|
6
6
|
Author: Sapling Intelligence
|
|
@@ -10,6 +10,7 @@ Classifier: Development Status :: 3 - Alpha
|
|
|
10
10
|
Classifier: Programming Language :: Python :: 3
|
|
11
11
|
Description-Content-Type: text/markdown
|
|
12
12
|
License-File: LICENSE
|
|
13
|
+
Requires-Dist: requests
|
|
13
14
|
|
|
14
15
|
# Sapling Python Client
|
|
15
16
|
|
|
@@ -349,8 +349,7 @@ class SaplingClient:
|
|
|
349
349
|
timeout=self.timeout,
|
|
350
350
|
)
|
|
351
351
|
if 200 <= resp.status_code < 300:
|
|
352
|
-
|
|
353
|
-
return resp_json.get('edits')
|
|
352
|
+
return resp.json()
|
|
354
353
|
raise Exception(f'HTTP {resp.status_code}: {resp.text}')
|
|
355
354
|
|
|
356
355
|
|
|
@@ -381,8 +380,7 @@ class SaplingClient:
|
|
|
381
380
|
timeout=self.timeout,
|
|
382
381
|
)
|
|
383
382
|
if 200 <= resp.status_code < 300:
|
|
384
|
-
|
|
385
|
-
return resp_json
|
|
383
|
+
return resp.json()
|
|
386
384
|
raise Exception(f'HTTP {resp.status_code}: {resp.text}')
|
|
387
385
|
|
|
388
386
|
def accept_complete(
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = '4.0.2'
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: sapling-py
|
|
3
|
-
Version: 4.0.
|
|
3
|
+
Version: 4.0.2
|
|
4
4
|
Summary: Sapling Python Client
|
|
5
5
|
Home-page: https://sapling.ai
|
|
6
6
|
Author: Sapling Intelligence
|
|
@@ -10,6 +10,7 @@ Classifier: Development Status :: 3 - Alpha
|
|
|
10
10
|
Classifier: Programming Language :: Python :: 3
|
|
11
11
|
Description-Content-Type: text/markdown
|
|
12
12
|
License-File: LICENSE
|
|
13
|
+
Requires-Dist: requests
|
|
13
14
|
|
|
14
15
|
# Sapling Python Client
|
|
15
16
|
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
__version__ = '4.0.1'
|
|
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
|