kodexa 6.1.15044231227__py3-none-any.whl → 6.1.15059968382__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/client.py +4 -0
- {kodexa-6.1.15044231227.dist-info → kodexa-6.1.15059968382.dist-info}/METADATA +1 -1
- {kodexa-6.1.15044231227.dist-info → kodexa-6.1.15059968382.dist-info}/RECORD +5 -5
- {kodexa-6.1.15044231227.dist-info → kodexa-6.1.15059968382.dist-info}/LICENSE +0 -0
- {kodexa-6.1.15044231227.dist-info → kodexa-6.1.15059968382.dist-info}/WHEEL +0 -0
kodexa/platform/client.py
CHANGED
@@ -2690,6 +2690,9 @@ class KodexaClient:
|
|
2690
2690
|
headers = {"x-access-token": self.access_token}
|
2691
2691
|
if files is None:
|
2692
2692
|
headers["content-type"] = "application/json"
|
2693
|
+
else:
|
2694
|
+
headers["content-type"] = "multipart/form-data"
|
2695
|
+
|
2693
2696
|
response = requests.post(self.get_url(url), json=body, data=data, files=files, params=params,
|
2694
2697
|
headers=headers)
|
2695
2698
|
return process_response(response)
|
@@ -2700,6 +2703,7 @@ class KodexaClient:
|
|
2700
2703
|
headers["content-type"] = "application/json"
|
2701
2704
|
else:
|
2702
2705
|
headers["content-type"] = "multipart/form-data"
|
2706
|
+
|
2703
2707
|
response = requests.put(self.get_url(url), json=body, data=data, files=files, params=params,
|
2704
2708
|
headers=headers)
|
2705
2709
|
return process_response(response)
|
@@ -11,7 +11,7 @@ kodexa/model/persistence.py,sha256=ZWESzXS-jkGbp-NlPuQzQFxmZeRup7uNJjrUkGaYIOk,3
|
|
11
11
|
kodexa/pipeline/__init__.py,sha256=sA7f5D6qkdMrpp2xTIeefnrUBI6xxEEWostvxfX_1Cs,236
|
12
12
|
kodexa/pipeline/pipeline.py,sha256=uzxe7HuSW1CKDZOrnV_LRHj3SHhbs14lvmMGJ_DIVdw,19763
|
13
13
|
kodexa/platform/__init__.py,sha256=1O3oiWMg292NPL_NacKDnK1T3_R6cMorrPRue_9e-O4,216
|
14
|
-
kodexa/platform/client.py,sha256=
|
14
|
+
kodexa/platform/client.py,sha256=LCCTb0TxRBDtv1_8g_jPtaJIiRyx4SfmG__WACh9RI0,110197
|
15
15
|
kodexa/platform/kodexa.py,sha256=OZCdYK34ZnFAvktDdwewAerG7DHEJxau858qo116-vA,28246
|
16
16
|
kodexa/selectors/__init__.py,sha256=xA9-4vpyaAZWPSk3bh2kvDLkdv6XEmm7PjFbpziiTIk,100
|
17
17
|
kodexa/selectors/ast.py,sha256=mTAcX_pjDiDy99ELxbMMwAAkzezOqz5uCyui9qz7Q4A,13499
|
@@ -34,7 +34,7 @@ kodexa/testing/test_components.py,sha256=i_9M6-bfUBdR1uYAzZZzWiW0M1DGKzE5mkNuHq4
|
|
34
34
|
kodexa/testing/test_utils.py,sha256=HXM3S5FDzarzS6R7jkOHps6d6Ox2UtNqymoK6VCw8Zg,13596
|
35
35
|
kodexa/training/__init__.py,sha256=xs2L62YpRkIRfslQwtQZ5Yxjhm7sLzX2TrVX6EuBnZQ,52
|
36
36
|
kodexa/training/train_utils.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
37
|
-
kodexa-6.1.
|
38
|
-
kodexa-6.1.
|
39
|
-
kodexa-6.1.
|
40
|
-
kodexa-6.1.
|
37
|
+
kodexa-6.1.15059968382.dist-info/WHEEL,sha256=vVCvjcmxuUltf8cYhJ0sJMRDLr1XsPuxEId8YDzbyCY,88
|
38
|
+
kodexa-6.1.15059968382.dist-info/LICENSE,sha256=WNHhf_5RCaeuKWyq_K39vmp9F28LxKsB4SpomwSZ2L0,11357
|
39
|
+
kodexa-6.1.15059968382.dist-info/METADATA,sha256=AKoCKcdazb74j1taA-DVXW0rgJ9tuHeQGberTAIhOZg,4158
|
40
|
+
kodexa-6.1.15059968382.dist-info/RECORD,,
|
File without changes
|
File without changes
|