sentor-ml 1.1.0__tar.gz → 1.2.0__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.
- {sentor_ml-1.1.0 → sentor_ml-1.2.0}/PKG-INFO +1 -1
- {sentor_ml-1.1.0 → sentor_ml-1.2.0}/sentor/client.py +1 -1
- {sentor_ml-1.1.0 → sentor_ml-1.2.0}/sentor_ml.egg-info/PKG-INFO +1 -1
- {sentor_ml-1.1.0 → sentor_ml-1.2.0}/setup.py +1 -1
- {sentor_ml-1.1.0 → sentor_ml-1.2.0}/README.md +0 -0
- {sentor_ml-1.1.0 → sentor_ml-1.2.0}/sentor/__init__.py +0 -0
- {sentor_ml-1.1.0 → sentor_ml-1.2.0}/sentor/exceptions.py +0 -0
- {sentor_ml-1.1.0 → sentor_ml-1.2.0}/sentor_ml.egg-info/SOURCES.txt +0 -0
- {sentor_ml-1.1.0 → sentor_ml-1.2.0}/sentor_ml.egg-info/dependency_links.txt +0 -0
- {sentor_ml-1.1.0 → sentor_ml-1.2.0}/sentor_ml.egg-info/entry_points.txt +0 -0
- {sentor_ml-1.1.0 → sentor_ml-1.2.0}/sentor_ml.egg-info/requires.txt +0 -0
- {sentor_ml-1.1.0 → sentor_ml-1.2.0}/sentor_ml.egg-info/top_level.txt +0 -0
- {sentor_ml-1.1.0 → sentor_ml-1.2.0}/setup.cfg +0 -0
- {sentor_ml-1.1.0 → sentor_ml-1.2.0}/tests/__init__.py +0 -0
- {sentor_ml-1.1.0 → sentor_ml-1.2.0}/tests/test_client.py +0 -0
|
@@ -55,7 +55,7 @@ class SentorClient:
|
|
|
55
55
|
url, json=payload, headers=self.headers, timeout=self.timeout
|
|
56
56
|
)
|
|
57
57
|
|
|
58
|
-
if response.status_code == 200:
|
|
58
|
+
if response.status_code == 200 or response.status_code == 201:
|
|
59
59
|
return response.json()
|
|
60
60
|
elif response.status_code == 429:
|
|
61
61
|
raise RateLimitError(response.json())
|
|
@@ -5,7 +5,7 @@ with open("README.md", "r", encoding="utf-8") as fh:
|
|
|
5
5
|
|
|
6
6
|
setup(
|
|
7
7
|
name="sentor-ml",
|
|
8
|
-
version="1.
|
|
8
|
+
version="1.2.0",
|
|
9
9
|
author="NIKX Technologies",
|
|
10
10
|
author_email="sentor@nikx.one",
|
|
11
11
|
description="A Python SDK for interacting with the Sentor ML API for sentiment analysis",
|
|
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
|