iris-pex-embedded-python 3.2.0b3__py3-none-any.whl → 3.2.0b5__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.

@@ -9,6 +9,31 @@ Property JSONSchema As %String(MAXLEN = "");
9
9
 
10
10
  Index NameIndex On Name [ IdKey, Unique ];
11
11
 
12
+ /// Import a JSON Schema from file
13
+ ClassMethod ImportFromFile(
14
+ pFileName As %String,
15
+ pCategory As %String = "",
16
+ pName As %String) As %Status
17
+ {
18
+ Set pStatus = $$$OK
19
+ Try {
20
+ If '##class(%File).Exists(pFileName) {
21
+ Set pStatus = $$$ERROR($$$GeneralError, "File not found")
22
+ Return pStatus
23
+ }
24
+ Set tFile = ##class(%File).%New(pFileName)
25
+ $$$ThrowOnError(tFile.Open("R"))
26
+ Set tSchema = ""
27
+ While 'tFile.AtEnd {
28
+ Set tSchema = tSchema _ tFile.ReadLine()
29
+ }
30
+ Set pStatus = ..Import(tSchema, pCategory, pName)
31
+ } Catch ex {
32
+ Set pStatus = ex.AsStatus()
33
+ }
34
+ Return pStatus
35
+ }
36
+
12
37
  /// Store the JSON Schema in this object
13
38
  ClassMethod Import(
14
39
  pSchema As %String,
iop/cls/IOP/Message.cls CHANGED
@@ -360,7 +360,7 @@ ClassMethod GetContentArray(
360
360
  If $$$ISERR(tSC) Return tSC
361
361
  set schema = {}.%FromJSON(json)
362
362
 
363
- $$$ThrowOnError(##class(IOP.Message.Document).SchemaToContents(schema, .tContents))
363
+ $$$ThrowOnError(##class(IOP.Message).SchemaToContents(schema, .tContents))
364
364
 
365
365
  Merge @pContents = tContents
366
366
  }
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: iris_pex_embedded_python
3
- Version: 3.2.0b3
3
+ Version: 3.2.0b5
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=emJY3SsPWwcbeBnPeBg7kHTyUsZ0QYDpfUjoIw5ghUE,23209
115
+ iop/cls/IOP/Message.cls,sha256=uSNWzxAjwl-KgYhzWLCtdTTeN-FlE5r-TZz1JctVM3o,23200
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
@@ -120,7 +120,7 @@ iop/cls/IOP/Utils.cls,sha256=ZTBr02spm4ppxVBfhnUwb08BmhTjG5-ZbItRshYHs1I,13746
120
120
  iop/cls/IOP/Duplex/Operation.cls,sha256=K_fmgeLjPZQbHgNrc0kd6DUQoW0fDn1VHQjJxHo95Zk,525
121
121
  iop/cls/IOP/Duplex/Process.cls,sha256=xbefZ4z84a_IUhavWN6P_gZBzqkdJ5XRTXxro6iDvAg,6986
122
122
  iop/cls/IOP/Duplex/Service.cls,sha256=sTMOQUCMBgVitmQkM8bbsrmrRtCdj91VlctJ3I7b8WU,161
123
- iop/cls/IOP/Message/JSONSchema.cls,sha256=KLx7qYbfRehuvof1j3bBYiaVtqKPxuddrmDaKl5S_rE,2570
123
+ iop/cls/IOP/Message/JSONSchema.cls,sha256=SL26n8Z0D81SAGL2NthI10NFdT4Oe1x_GQiaTYPwkoo,3252
124
124
  iop/cls/IOP/PrivateSession/Duplex.cls,sha256=8a_dO7E2RTzuxzoufryjlS41l-99NmTtOcmFXOnSwA8,7957
125
125
  iop/cls/IOP/PrivateSession/Message/Ack.cls,sha256=y6-5uSVod36bxeQuT2ytPN4TUAfM1mvGGJuTbWbpNv4,941
126
126
  iop/cls/IOP/PrivateSession/Message/Poll.cls,sha256=z3ALYmGYQasTcyYNyBeoHzJdNXI4nBO_N8Cqo9l4sQY,942
@@ -130,9 +130,9 @@ iop/cls/IOP/Service/WSGI.cls,sha256=VLNCXEwmHW9dBnE51uGE1nvGX6T4HjhqePT3LVhsjAE,
130
130
  iop/wsgi/handlers.py,sha256=NrFLo_YbAh-x_PlWhAiWkQnUUN2Ss9HoEm63dDWCBpQ,2947
131
131
  irisnative/_IRISNative.py,sha256=HQ4nBhc8t8_5OtxdMG-kx1aa-T1znf2I8obZOPLOPzg,665
132
132
  irisnative/__init__.py,sha256=6YmvBLQSURsCPKaNg7LK-xpo4ipDjrlhKuwdfdNb3Kg,341
133
- iris_pex_embedded_python-3.2.0b3.dist-info/LICENSE,sha256=rZSiBFId_sfbJ6RL0GjjPX-InNLkNS9ou7eQsikciI8,1089
134
- iris_pex_embedded_python-3.2.0b3.dist-info/METADATA,sha256=T3B3K1lZ7i9-AQ7vRpJ0Hc-5xWlTaJG0Fvu6uPfilGQ,4427
135
- iris_pex_embedded_python-3.2.0b3.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
136
- iris_pex_embedded_python-3.2.0b3.dist-info/entry_points.txt,sha256=pj-i4LSDyiSP6xpHlVjMCbg1Pik7dC3_sdGY3Yp9Vhk,38
137
- iris_pex_embedded_python-3.2.0b3.dist-info/top_level.txt,sha256=VWDlX4YF4qFVRGrG3-Gs0kgREol02i8gIpsHNbhfFPw,42
138
- iris_pex_embedded_python-3.2.0b3.dist-info/RECORD,,
133
+ iris_pex_embedded_python-3.2.0b5.dist-info/LICENSE,sha256=rZSiBFId_sfbJ6RL0GjjPX-InNLkNS9ou7eQsikciI8,1089
134
+ iris_pex_embedded_python-3.2.0b5.dist-info/METADATA,sha256=Sx6yUg3DoG-rGX90eO-MXrh8PAnmXSITTFoeRPNbjIs,4427
135
+ iris_pex_embedded_python-3.2.0b5.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
136
+ iris_pex_embedded_python-3.2.0b5.dist-info/entry_points.txt,sha256=pj-i4LSDyiSP6xpHlVjMCbg1Pik7dC3_sdGY3Yp9Vhk,38
137
+ iris_pex_embedded_python-3.2.0b5.dist-info/top_level.txt,sha256=VWDlX4YF4qFVRGrG3-Gs0kgREol02i8gIpsHNbhfFPw,42
138
+ iris_pex_embedded_python-3.2.0b5.dist-info/RECORD,,