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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: sapling-py
3
- Version: 4.0.1
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
- resp_json = resp.json()
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
- resp_json = resp.json()
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.1
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