iris-pex-embedded-python 3.1.5b8__py3-none-any.whl → 3.1.5b9__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.

Potentially problematic release.


This version of iris-pex-embedded-python might be problematic. Click here for more details.

iop/cls/IOP/Message.cls CHANGED
@@ -1,7 +1,3 @@
1
- /* Copyright (c) 2021 by InterSystems Corporation.
2
- Cambridge, Massachusetts, U.S.A. All rights reserved.
3
- Confidential property of InterSystems Corporation. */
4
-
5
1
  Class IOP.Message Extends (Ens.MessageBody, %CSP.Page, %XML.Adaptor)
6
2
  {
7
3
 
@@ -79,11 +75,16 @@ Method jsonSet(pInput) As %Status
79
75
  , "Stream":..jsonStream
80
76
  , :$$$NULLOREF)
81
77
  Quit:tOldStream=pInput $$$OK
82
- Do:..type'="" Clear() Set i%type=""
78
+
79
+ If ..type'="" {
80
+ Set:(..type="String") i%jsonString=""
81
+ Set:(..type="Stream") i%jsonStream=$$$NULLOREF
82
+ Set i%type = ""
83
+ }
83
84
 
84
85
  If $ISOBJECT(pInput) {
85
86
  if pInput.%Extends("%Stream.GlobalCharacter") {
86
- Set ..jsonStream=pInput, i%type="Stream"
87
+ Set r%jsonStream=pInput, i%type="Stream"
87
88
  }
88
89
  else {
89
90
  Throw ##class(%Exception.General).%New("Invalid input type, must be a %Stream.GlobalCharacter or a %String")
@@ -97,15 +98,12 @@ Method jsonSet(pInput) As %Status
97
98
  Set sc = stream.Write($EXTRACT(pInput,i,(i+..#BUFFER)))
98
99
  Quit:$$$ISERR(sc)
99
100
  }
100
- Set ..jsonStream=stream, i%type="Stream"
101
+ Set r%jsonStream=stream, i%type="Stream"
102
+ }
103
+ else {
104
+ Set i%jsonString=pInput, i%type="String"
101
105
  }
102
- Set i%jsonString=pInput, i%type="String"
103
106
  }
104
- Quit $$$OK
105
- Clear()
106
- If ..type="String" { Set r%jsonString="" }
107
- ElseIf ..type="Stream" { Set r%jsonStream=$$$NULLOREF }
108
- Quit
109
107
  }
110
108
 
111
109
  Method GetObjectJson(ByRef atEnd)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: iris_pex_embedded_python
3
- Version: 3.1.5b8
3
+ Version: 3.1.5b9
4
4
  Summary: Iris Interoperability based on Embedded Python
5
5
  Author-email: grongier <guillaume.rongier@intersystems.com>
6
6
  License: MIT License
@@ -112,7 +112,7 @@ iop/cls/IOP/BusinessService.cls,sha256=7ebn32J9PiZXUgXuh5Xxm_7X6zHBiqkJr9c_dWxbP
112
112
  iop/cls/IOP/Common.cls,sha256=4f4ZpLj8fsj8IKJDNb9pKoCokzo522JHWX0OqpAaC5g,11192
113
113
  iop/cls/IOP/Director.cls,sha256=M43LoTb6lwSr0J81RFxi1YLW1mwda09wQ7Xqr3nBtxo,2008
114
114
  iop/cls/IOP/InboundAdapter.cls,sha256=GeoCm6q5HcLJ5e4VxgqXiErJXqolBbpKwpunaNzpvjU,610
115
- iop/cls/IOP/Message.cls,sha256=n0r0FslXdDfPcHIiAlW7n596DDsDSNlTX8UTPaMnSV8,9911
115
+ iop/cls/IOP/Message.cls,sha256=0VYfCHsowTaOk76JpLM9Fcl_o9jNCYiRaXNQr4rMhM8,9717
116
116
  iop/cls/IOP/OutboundAdapter.cls,sha256=9eOwy5ojwcTzwrHs6LNrFQvUD8aqcoNCZrILN1ycdDM,958
117
117
  iop/cls/IOP/PickleMessage.cls,sha256=S3y7AClQ8mAILjxPuHdCjGosBZYzGbUQ5WTv4mYPNMQ,1673
118
118
  iop/cls/IOP/Test.cls,sha256=gAC9PEfMZsvAEWIa241-ug2FWAhITbN1SOispZzJPnI,2094
@@ -129,9 +129,9 @@ iop/cls/IOP/Service/WSGI.cls,sha256=VLNCXEwmHW9dBnE51uGE1nvGX6T4HjhqePT3LVhsjAE,
129
129
  iop/wsgi/handlers.py,sha256=NrFLo_YbAh-x_PlWhAiWkQnUUN2Ss9HoEm63dDWCBpQ,2947
130
130
  irisnative/_IRISNative.py,sha256=HQ4nBhc8t8_5OtxdMG-kx1aa-T1znf2I8obZOPLOPzg,665
131
131
  irisnative/__init__.py,sha256=6YmvBLQSURsCPKaNg7LK-xpo4ipDjrlhKuwdfdNb3Kg,341
132
- iris_pex_embedded_python-3.1.5b8.dist-info/LICENSE,sha256=rZSiBFId_sfbJ6RL0GjjPX-InNLkNS9ou7eQsikciI8,1089
133
- iris_pex_embedded_python-3.1.5b8.dist-info/METADATA,sha256=-0xKDTbLXTlASDZbFERpiToOvEKr38sJhsglzYMk7Yc,4367
134
- iris_pex_embedded_python-3.1.5b8.dist-info/WHEEL,sha256=PZUExdf71Ui_so67QXpySuHtCi3-J3wvF4ORK6k_S8U,91
135
- iris_pex_embedded_python-3.1.5b8.dist-info/entry_points.txt,sha256=pj-i4LSDyiSP6xpHlVjMCbg1Pik7dC3_sdGY3Yp9Vhk,38
136
- iris_pex_embedded_python-3.1.5b8.dist-info/top_level.txt,sha256=VWDlX4YF4qFVRGrG3-Gs0kgREol02i8gIpsHNbhfFPw,42
137
- iris_pex_embedded_python-3.1.5b8.dist-info/RECORD,,
132
+ iris_pex_embedded_python-3.1.5b9.dist-info/LICENSE,sha256=rZSiBFId_sfbJ6RL0GjjPX-InNLkNS9ou7eQsikciI8,1089
133
+ iris_pex_embedded_python-3.1.5b9.dist-info/METADATA,sha256=4R4ENHCZJfl3daH7IUYD3njvra6ntf0BUhEZRw4yO-8,4367
134
+ iris_pex_embedded_python-3.1.5b9.dist-info/WHEEL,sha256=PZUExdf71Ui_so67QXpySuHtCi3-J3wvF4ORK6k_S8U,91
135
+ iris_pex_embedded_python-3.1.5b9.dist-info/entry_points.txt,sha256=pj-i4LSDyiSP6xpHlVjMCbg1Pik7dC3_sdGY3Yp9Vhk,38
136
+ iris_pex_embedded_python-3.1.5b9.dist-info/top_level.txt,sha256=VWDlX4YF4qFVRGrG3-Gs0kgREol02i8gIpsHNbhfFPw,42
137
+ iris_pex_embedded_python-3.1.5b9.dist-info/RECORD,,