most-client 1.0.32__py3-none-any.whl → 1.0.34__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.
most/api.py CHANGED
@@ -133,7 +133,7 @@ class MostClient(object):
133
133
  headers=headers,
134
134
  **kwargs)
135
135
  if resp.status_code >= 400:
136
- raise RuntimeError(resp.json()['message'] if resp.headers.get("Content-Type") == "application/json" else "Something went wrong.")
136
+ raise RuntimeError(resp.json()['message'] if resp.headers.get("Content-Type") == "application/json" else resp.content)
137
137
  return resp
138
138
 
139
139
  def put(self, url, **kwargs):
@@ -151,7 +151,7 @@ class MostClient(object):
151
151
  headers=headers,
152
152
  **kwargs)
153
153
  if resp.status_code >= 400:
154
- raise RuntimeError(resp.json()['message'] if resp.headers.get("Content-Type") == "application/json" else "Something went wrong.")
154
+ raise RuntimeError(resp.json()['message'] if resp.headers.get("Content-Type") == "application/json" else resp.content)
155
155
  return resp
156
156
 
157
157
  def post(self, url,
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: most-client
3
- Version: 1.0.32
3
+ Version: 1.0.34
4
4
  Summary: Most AI API for https://the-most.ai
5
5
  Home-page: https://github.com/the-most-ai/most-client
6
6
  Author: George Kasparyants
@@ -1,13 +1,13 @@
1
1
  most/__init__.py,sha256=b0EXXaPA4kmt-FtGXKRWZr7SCwjipMLcpC6uT5WRIdY,144
2
2
  most/_constrants.py,sha256=SlHKcBoXwe_sPzk8tdbb7lqhQz-Bfo__FhSoeFWodZE,217
3
- most/api.py,sha256=3PzHr61qKQ0_BIo9rdsm2SRi43yD0HdQc8GPpW-ehgk,18816
3
+ most/api.py,sha256=x5UxoAbB0Qt3_lTOzdHlYw2pXYloNuVonZBvzTavMEY,18794
4
4
  most/async_api.py,sha256=uSfdZuWCdPr05JiO2hJ9HraF0uFRiRSPTYVYuUZLCDQ,19973
5
5
  most/async_trainer_api.py,sha256=99rED8RjnOn8VezeEgrTgoVfQrO7DdmOE2Jajumno2g,1052
6
6
  most/score_calculation.py,sha256=1XU1LfIH5LSCwAbAaKkr-EjH5qOTXrJKOUvhCCawka4,1054
7
7
  most/trainer_api.py,sha256=ZwOv4mhROfY97n6i7IY_ZpafsuNRazOqMBAf2dh708k,992
8
8
  most/types.py,sha256=KP34dzS8ayQUhToIxwxTL9O8-7TZz1ySfJzA3ZNGIGw,4921
9
- most_client-1.0.32.dist-info/METADATA,sha256=YMrdEObidHQio4UzTc1yINdEEXnhr12EeqWrR110ssY,1027
10
- most_client-1.0.32.dist-info/WHEEL,sha256=CmyFI0kx5cdEMTLiONQRbGQwjIoR1aIYB7eCAQ4KPJ0,91
11
- most_client-1.0.32.dist-info/top_level.txt,sha256=2g5fk02LKkM1hV3pVVti_LQ60TToLBcR2zQ3JEKGVk8,5
12
- most_client-1.0.32.dist-info/zip-safe,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
13
- most_client-1.0.32.dist-info/RECORD,,
9
+ most_client-1.0.34.dist-info/METADATA,sha256=lXV6C4WpGopoL9cZPWrJKfd84aNCKRF2xbiVlizuR9A,1027
10
+ most_client-1.0.34.dist-info/WHEEL,sha256=CmyFI0kx5cdEMTLiONQRbGQwjIoR1aIYB7eCAQ4KPJ0,91
11
+ most_client-1.0.34.dist-info/top_level.txt,sha256=2g5fk02LKkM1hV3pVVti_LQ60TToLBcR2zQ3JEKGVk8,5
12
+ most_client-1.0.34.dist-info/zip-safe,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
13
+ most_client-1.0.34.dist-info/RECORD,,