sentor-ml 1.1.0__py3-none-any.whl → 1.2.0__py3-none-any.whl
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/client.py +1 -1
- {sentor_ml-1.1.0.dist-info → sentor_ml-1.2.0.dist-info}/METADATA +1 -1
- sentor_ml-1.2.0.dist-info/RECORD +10 -0
- sentor_ml-1.1.0.dist-info/RECORD +0 -10
- {sentor_ml-1.1.0.dist-info → sentor_ml-1.2.0.dist-info}/WHEEL +0 -0
- {sentor_ml-1.1.0.dist-info → sentor_ml-1.2.0.dist-info}/entry_points.txt +0 -0
- {sentor_ml-1.1.0.dist-info → sentor_ml-1.2.0.dist-info}/top_level.txt +0 -0
sentor/client.py
CHANGED
|
@@ -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())
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
sentor/__init__.py,sha256=K0z9SVT_Bkif2bj3Yqr7QtvQNTJll6an3DCuE0-rD0c,64
|
|
2
|
+
sentor/client.py,sha256=lonitKFt2I0z4K3ok26L2gobbwuDCWFIZxb985YLPPg,2554
|
|
3
|
+
sentor/exceptions.py,sha256=MY5uFUJd_WBhCMc0zNxVvoasC1rME4Brqv82MwhDM7c,648
|
|
4
|
+
tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
5
|
+
tests/test_client.py,sha256=QMCyMt1n5e_-guT3yf5yVk_vKssHjkaGBuKd18ZixKg,4098
|
|
6
|
+
sentor_ml-1.2.0.dist-info/METADATA,sha256=gLnTitSAnJCE4EVpQTOBE5lVBgwm3OuPAGAzVjXbgVE,6525
|
|
7
|
+
sentor_ml-1.2.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
8
|
+
sentor_ml-1.2.0.dist-info/entry_points.txt,sha256=iYoIGXM8AusRG36JhqnBREngOd0iDOYN0C8PpiHtgXE,46
|
|
9
|
+
sentor_ml-1.2.0.dist-info/top_level.txt,sha256=nVfiI7y35XyGm5wyA94o24nDInXLiheycaaRtkR10ko,13
|
|
10
|
+
sentor_ml-1.2.0.dist-info/RECORD,,
|
sentor_ml-1.1.0.dist-info/RECORD
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
sentor/__init__.py,sha256=K0z9SVT_Bkif2bj3Yqr7QtvQNTJll6an3DCuE0-rD0c,64
|
|
2
|
-
sentor/client.py,sha256=-60oSDcdWCDXDhj4p_snvbQBRG16Fy_i1-U8CePFWZw,2523
|
|
3
|
-
sentor/exceptions.py,sha256=MY5uFUJd_WBhCMc0zNxVvoasC1rME4Brqv82MwhDM7c,648
|
|
4
|
-
tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
5
|
-
tests/test_client.py,sha256=QMCyMt1n5e_-guT3yf5yVk_vKssHjkaGBuKd18ZixKg,4098
|
|
6
|
-
sentor_ml-1.1.0.dist-info/METADATA,sha256=v5U57qWTrIbf5-TcaUowylE1HeyiSJhkGW0Z0pSU1H0,6525
|
|
7
|
-
sentor_ml-1.1.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
8
|
-
sentor_ml-1.1.0.dist-info/entry_points.txt,sha256=iYoIGXM8AusRG36JhqnBREngOd0iDOYN0C8PpiHtgXE,46
|
|
9
|
-
sentor_ml-1.1.0.dist-info/top_level.txt,sha256=nVfiI7y35XyGm5wyA94o24nDInXLiheycaaRtkR10ko,13
|
|
10
|
-
sentor_ml-1.1.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|