kodexa 7.0.8490893071__py3-none-any.whl → 7.0.8551368104__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.
kodexa/platform/kodexa.py CHANGED
@@ -333,7 +333,10 @@ class KodexaPlatform:
333
333
  if r.status_code == 401:
334
334
  raise Exception("Your access token was not authorized")
335
335
  if r.status_code == 200:
336
- return r.json()
336
+ try:
337
+ return r.json()
338
+ except JSONDecodeError:
339
+ raise Exception("Unable to decode server information, check your access token")
337
340
 
338
341
  logger.warning(r.text)
339
342
  raise Exception(
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: kodexa
3
- Version: 7.0.8490893071
3
+ Version: 7.0.8551368104
4
4
  Summary: Python SDK for the Kodexa Platform
5
5
  Author: Austin Redenbaugh
6
6
  Author-email: austin@kodexa.com
@@ -13,7 +13,7 @@ kodexa/pipeline/pipeline.py,sha256=ZYpJAWcwV4YRK589DUhU0vXGQlkNSj4J2TsGbYqTLjo,2
13
13
  kodexa/platform/__init__.py,sha256=1O3oiWMg292NPL_NacKDnK1T3_R6cMorrPRue_9e-O4,216
14
14
  kodexa/platform/client.py,sha256=EHk0L9mYAJXRdMvwvc-fm4IwPqnNQKUisMQqgyTDzFE,213246
15
15
  kodexa/platform/interaction.py,sha256=6zpcwXKNZstUGNS6m4JsoRXAqCZPJHWI-ZN3co8nnF0,1055
16
- kodexa/platform/kodexa.py,sha256=oUY4aiKDIs_xdv41RN_EiQBqlQ7e7Mpq1vuu5dRcqU0,33780
16
+ kodexa/platform/kodexa.py,sha256=1z4Wd7QxfFMbBv6U27_3IpoQitvxuhPX-vPq1_8jIto,33933
17
17
  kodexa/selectors/__init__.py,sha256=xA9-4vpyaAZWPSk3bh2kvDLkdv6XEmm7PjFbpziiTIk,100
18
18
  kodexa/selectors/ast.py,sha256=gG-1st841IntgBE5V7p3Cq9azaym2jV5lB_AIywQTCI,13269
19
19
  kodexa/selectors/core.py,sha256=kkt02DN20gXeaDGoGubPPeeTV7rCr4sxTyELrI0l1YU,3691
@@ -35,7 +35,7 @@ kodexa/testing/test_components.py,sha256=g5lP-GY0nTHuH5cIEw45vIejEeBaWkPKQGHL36j
35
35
  kodexa/testing/test_utils.py,sha256=DrLCkHxdb6AbZ-X3WmTMbQmnVIm55VEBL8MjtUK9POs,14021
36
36
  kodexa/training/__init__.py,sha256=xs2L62YpRkIRfslQwtQZ5Yxjhm7sLzX2TrVX6EuBnZQ,52
37
37
  kodexa/training/train_utils.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
38
- kodexa-7.0.8490893071.dist-info/LICENSE,sha256=WNHhf_5RCaeuKWyq_K39vmp9F28LxKsB4SpomwSZ2L0,11357
39
- kodexa-7.0.8490893071.dist-info/METADATA,sha256=iY0PHRYsVw1puBML0Db2r1JD_Xm-6Im5yZWs_5z3YNw,3493
40
- kodexa-7.0.8490893071.dist-info/WHEEL,sha256=Zb28QaM1gQi8f4VCBhsUklF61CTlNYfs9YAZn-TOGFk,88
41
- kodexa-7.0.8490893071.dist-info/RECORD,,
38
+ kodexa-7.0.8551368104.dist-info/LICENSE,sha256=WNHhf_5RCaeuKWyq_K39vmp9F28LxKsB4SpomwSZ2L0,11357
39
+ kodexa-7.0.8551368104.dist-info/METADATA,sha256=QhULdqLcsxZlxqLyfmJ1OfVs_pADiBRxp_sF-b-6Fjw,3493
40
+ kodexa-7.0.8551368104.dist-info/WHEEL,sha256=Zb28QaM1gQi8f4VCBhsUklF61CTlNYfs9YAZn-TOGFk,88
41
+ kodexa-7.0.8551368104.dist-info/RECORD,,