kodexa 7.4.414561019241__py3-none-any.whl → 7.4.414605537474__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
@@ -192,11 +192,14 @@ class KodexaPlatform:
192
192
  """
193
193
  kodexa_config = get_config(profile)
194
194
  env_url = os.getenv("KODEXA_URL", None)
195
- return (
195
+ final_url = (
196
196
  env_url
197
197
  if env_url is not None
198
198
  else kodexa_config[get_profile(profile)]["url"]
199
199
  )
200
+ if final_url is None:
201
+ raise Exception("No URL set, please set KODEXA_URL or configure a profile (see https://developer.kodexa.ai/guides/cli/authentication)")
202
+ return final_url
200
203
 
201
204
  @staticmethod
202
205
  def set_access_token(access_token: str):
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: kodexa
3
- Version: 7.4.414561019241
3
+ Version: 7.4.414605537474
4
4
  Summary: Python SDK for the Kodexa Platform
5
5
  Author: Austin Redenbaugh
6
6
  Author-email: austin@kodexa.com
@@ -21,7 +21,7 @@ kodexa/pipeline/pipeline.py,sha256=zyNEpA7KlGhPs_l-vgV6m-OCb16dbxQhl8QezeylugA,2
21
21
  kodexa/platform/__init__.py,sha256=1O3oiWMg292NPL_NacKDnK1T3_R6cMorrPRue_9e-O4,216
22
22
  kodexa/platform/client.py,sha256=D1J5e4URBSVafEo07Yb9QMMdXcmJFA0g4Maa6TcNYNc,236029
23
23
  kodexa/platform/interaction.py,sha256=6zpcwXKNZstUGNS6m4JsoRXAqCZPJHWI-ZN3co8nnF0,1055
24
- kodexa/platform/kodexa.py,sha256=foFtSakAHRbYhJQ_JQBOnrxVGVoLhsY8LKZlI3BVdtQ,35107
24
+ kodexa/platform/kodexa.py,sha256=2s7Ez7_o-ywpNwbTRhtOUaQKtB9hKsDC_oJHaskXw-I,35315
25
25
  kodexa/platform/manifest.py,sha256=dtb9ESc8xGjlWCsat9y-Pv0bQ6j1LGr4Mb83_ybQHoE,19677
26
26
  kodexa/selectors/__init__.py,sha256=xA9-4vpyaAZWPSk3bh2kvDLkdv6XEmm7PjFbpziiTIk,100
27
27
  kodexa/selectors/ast.py,sha256=K0JUY2tYYCmDlh4uz5N8Jh2zInDremlnriPsY3dx0AI,13523
@@ -45,7 +45,7 @@ kodexa/testing/test_utils.py,sha256=v44p__gE7ia67W7WeHN2HBFCWSCUrCZt7G4xBNCmwf8,
45
45
  kodexa/training/__init__.py,sha256=xs2L62YpRkIRfslQwtQZ5Yxjhm7sLzX2TrVX6EuBnZQ,52
46
46
  kodexa/training/train_utils.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
47
47
  kodexa/utils/__init__.py,sha256=Pnim1o9_db5YEnNvDTxpM7HG-qTlL6n8JwFwOafU9wo,5928
48
- kodexa-7.4.414561019241.dist-info/LICENSE,sha256=WNHhf_5RCaeuKWyq_K39vmp9F28LxKsB4SpomwSZ2L0,11357
49
- kodexa-7.4.414561019241.dist-info/METADATA,sha256=CyCa37DXYeYF9jpQqPjpQQqUdYhB18YTMF3Ma8xanAE,2813
50
- kodexa-7.4.414561019241.dist-info/WHEEL,sha256=Zb28QaM1gQi8f4VCBhsUklF61CTlNYfs9YAZn-TOGFk,88
51
- kodexa-7.4.414561019241.dist-info/RECORD,,
48
+ kodexa-7.4.414605537474.dist-info/LICENSE,sha256=WNHhf_5RCaeuKWyq_K39vmp9F28LxKsB4SpomwSZ2L0,11357
49
+ kodexa-7.4.414605537474.dist-info/METADATA,sha256=K5NTplA_oeFRbJYtHBwPDuYbH_k-2JdbWk5AcUmlx-c,2813
50
+ kodexa-7.4.414605537474.dist-info/WHEEL,sha256=Zb28QaM1gQi8f4VCBhsUklF61CTlNYfs9YAZn-TOGFk,88
51
+ kodexa-7.4.414605537474.dist-info/RECORD,,