iris-pex-embedded-python 2.3.25b2__tar.gz → 3.2.1b2__tar.gz
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.
- iris_pex_embedded_python-3.2.1b2/PKG-INFO +90 -0
- iris_pex_embedded_python-3.2.1b2/README.md +37 -0
- {iris_pex_embedded_python-2.3.25b2 → iris_pex_embedded_python-3.2.1b2}/pyproject.toml +8 -3
- iris_pex_embedded_python-3.2.1b2/src/grongier/cls/Grongier/PEX/BusinessOperation.cls +8 -0
- iris_pex_embedded_python-3.2.1b2/src/grongier/cls/Grongier/PEX/BusinessProcess.cls +13 -0
- iris_pex_embedded_python-3.2.1b2/src/grongier/cls/Grongier/PEX/BusinessService.cls +8 -0
- iris_pex_embedded_python-3.2.1b2/src/grongier/cls/Grongier/PEX/Common.cls +10 -0
- iris_pex_embedded_python-3.2.1b2/src/grongier/cls/Grongier/PEX/Director.cls +10 -0
- iris_pex_embedded_python-3.2.1b2/src/grongier/cls/Grongier/PEX/Duplex/Operation.cls +4 -0
- iris_pex_embedded_python-3.2.1b2/src/grongier/cls/Grongier/PEX/Duplex/Process.cls +13 -0
- iris_pex_embedded_python-3.2.1b2/src/grongier/cls/Grongier/PEX/Duplex/Service.cls +4 -0
- iris_pex_embedded_python-3.2.1b2/src/grongier/cls/Grongier/PEX/InboundAdapter.cls +8 -0
- iris_pex_embedded_python-3.2.1b2/src/grongier/cls/Grongier/PEX/Message.cls +13 -0
- iris_pex_embedded_python-3.2.1b2/src/grongier/cls/Grongier/PEX/OutboundAdapter.cls +8 -0
- iris_pex_embedded_python-3.2.1b2/src/grongier/cls/Grongier/PEX/PickleMessage.cls +13 -0
- iris_pex_embedded_python-3.2.1b2/src/grongier/cls/Grongier/PEX/PrivateSession/Duplex.cls +8 -0
- iris_pex_embedded_python-3.2.1b2/src/grongier/cls/Grongier/PEX/PrivateSession/Message/Ack.cls +14 -0
- iris_pex_embedded_python-3.2.1b2/src/grongier/cls/Grongier/PEX/PrivateSession/Message/Poll.cls +14 -0
- iris_pex_embedded_python-3.2.1b2/src/grongier/cls/Grongier/PEX/PrivateSession/Message/Start.cls +14 -0
- iris_pex_embedded_python-3.2.1b2/src/grongier/cls/Grongier/PEX/PrivateSession/Message/Stop.cls +14 -0
- iris_pex_embedded_python-3.2.1b2/src/grongier/cls/Grongier/PEX/Test.cls +10 -0
- iris_pex_embedded_python-3.2.1b2/src/grongier/cls/Grongier/PEX/Utils.cls +10 -0
- iris_pex_embedded_python-3.2.1b2/src/grongier/cls/Grongier/Service/WSGI.cls +4 -0
- iris_pex_embedded_python-3.2.1b2/src/grongier/pex/__init__.py +24 -0
- {iris_pex_embedded_python-2.3.25b2 → iris_pex_embedded_python-3.2.1b2}/src/grongier/pex/__main__.py +1 -1
- iris_pex_embedded_python-3.2.1b2/src/grongier/pex/_business_host.py +1 -0
- iris_pex_embedded_python-3.2.1b2/src/grongier/pex/_cli.py +4 -0
- iris_pex_embedded_python-3.2.1b2/src/grongier/pex/_common.py +1 -0
- iris_pex_embedded_python-3.2.1b2/src/grongier/pex/_director.py +1 -0
- iris_pex_embedded_python-3.2.1b2/src/grongier/pex/_utils.py +1 -0
- {iris_pex_embedded_python-2.3.25b2 → iris_pex_embedded_python-3.2.1b2}/src/intersystems_iris/_ConnectionInformation.py +22 -20
- {iris_pex_embedded_python-2.3.25b2 → iris_pex_embedded_python-3.2.1b2}/src/intersystems_iris/dbapi/_DBAPI.py +6 -1
- {iris_pex_embedded_python-2.3.25b2 → iris_pex_embedded_python-3.2.1b2}/src/intersystems_iris/dbapi/_ResultSetRow.py +26 -15
- {iris_pex_embedded_python-2.3.25b2 → iris_pex_embedded_python-3.2.1b2}/src/intersystems_iris/dbapi/preparser/_PreParser.py +4 -1
- iris_pex_embedded_python-3.2.1b2/src/iop/__init__.py +24 -0
- iris_pex_embedded_python-3.2.1b2/src/iop/__main__.py +4 -0
- iris_pex_embedded_python-3.2.1b2/src/iop/_business_host.py +675 -0
- iris_pex_embedded_python-3.2.1b2/src/iop/_business_operation.py +71 -0
- iris_pex_embedded_python-3.2.1b2/src/iop/_business_process.py +220 -0
- {iris_pex_embedded_python-2.3.25b2/src/grongier/pex → iris_pex_embedded_python-3.2.1b2/src/iop}/_business_service.py +2 -2
- {iris_pex_embedded_python-2.3.25b2/src/grongier/pex → iris_pex_embedded_python-3.2.1b2/src/iop}/_cli.py +4 -15
- iris_pex_embedded_python-3.2.1b2/src/iop/_common.py +352 -0
- {iris_pex_embedded_python-2.3.25b2/src/grongier/pex → iris_pex_embedded_python-3.2.1b2/src/iop}/_director.py +29 -14
- {iris_pex_embedded_python-2.3.25b2/src/grongier/pex → iris_pex_embedded_python-3.2.1b2/src/iop}/_inbound_adapter.py +1 -1
- iris_pex_embedded_python-3.2.1b2/src/iop/_log_manager.py +81 -0
- {iris_pex_embedded_python-2.3.25b2/src/grongier/pex → iris_pex_embedded_python-3.2.1b2/src/iop}/_message.py +1 -1
- {iris_pex_embedded_python-2.3.25b2/src/grongier/pex → iris_pex_embedded_python-3.2.1b2/src/iop}/_outbound_adapter.py +1 -1
- {iris_pex_embedded_python-2.3.25b2/src/grongier/pex → iris_pex_embedded_python-3.2.1b2/src/iop}/_private_session_duplex.py +4 -3
- {iris_pex_embedded_python-2.3.25b2/src/grongier/pex → iris_pex_embedded_python-3.2.1b2/src/iop}/_private_session_process.py +2 -2
- {iris_pex_embedded_python-2.3.25b2/src/grongier/pex → iris_pex_embedded_python-3.2.1b2/src/iop}/_utils.py +109 -20
- {iris_pex_embedded_python-2.3.25b2/src/grongier/cls/Grongier/PEX → iris_pex_embedded_python-3.2.1b2/src/iop/cls/IOP}/BusinessOperation.cls +1 -1
- {iris_pex_embedded_python-2.3.25b2/src/grongier/cls/Grongier/PEX → iris_pex_embedded_python-3.2.1b2/src/iop/cls/IOP}/BusinessProcess.cls +14 -3
- {iris_pex_embedded_python-2.3.25b2/src/grongier/cls/Grongier/PEX → iris_pex_embedded_python-3.2.1b2/src/iop/cls/IOP}/BusinessService.cls +1 -1
- iris_pex_embedded_python-3.2.1b2/src/iop/cls/IOP/Common.cls +344 -0
- {iris_pex_embedded_python-2.3.25b2/src/grongier/cls/Grongier/PEX → iris_pex_embedded_python-3.2.1b2/src/iop/cls/IOP}/Director.cls +6 -1
- {iris_pex_embedded_python-2.3.25b2/src/grongier/cls/Grongier/PEX → iris_pex_embedded_python-3.2.1b2/src/iop/cls/IOP}/Duplex/Operation.cls +1 -1
- {iris_pex_embedded_python-2.3.25b2/src/grongier/cls/Grongier/PEX → iris_pex_embedded_python-3.2.1b2/src/iop/cls/IOP}/Duplex/Process.cls +12 -12
- {iris_pex_embedded_python-2.3.25b2/src/grongier/cls/Grongier/PEX → iris_pex_embedded_python-3.2.1b2/src/iop/cls/IOP}/Duplex/Service.cls +1 -1
- {iris_pex_embedded_python-2.3.25b2/src/grongier/cls/Grongier/PEX → iris_pex_embedded_python-3.2.1b2/src/iop/cls/IOP}/InboundAdapter.cls +1 -1
- iris_pex_embedded_python-3.2.1b2/src/iop/cls/IOP/Message/JSONSchema.cls +125 -0
- iris_pex_embedded_python-3.2.1b2/src/iop/cls/IOP/Message.cls +729 -0
- {iris_pex_embedded_python-2.3.25b2/src/grongier/cls/Grongier/PEX → iris_pex_embedded_python-3.2.1b2/src/iop/cls/IOP}/OutboundAdapter.cls +1 -1
- {iris_pex_embedded_python-2.3.25b2/src/grongier/cls/Grongier/PEX → iris_pex_embedded_python-3.2.1b2/src/iop/cls/IOP}/PickleMessage.cls +2 -2
- {iris_pex_embedded_python-2.3.25b2/src/grongier/cls/Grongier/PEX → iris_pex_embedded_python-3.2.1b2/src/iop/cls/IOP}/PrivateSession/Duplex.cls +11 -11
- {iris_pex_embedded_python-2.3.25b2/src/grongier/cls/Grongier/PEX → iris_pex_embedded_python-3.2.1b2/src/iop/cls/IOP}/PrivateSession/Message/Ack.cls +5 -5
- {iris_pex_embedded_python-2.3.25b2/src/grongier/cls/Grongier/PEX → iris_pex_embedded_python-3.2.1b2/src/iop/cls/IOP}/PrivateSession/Message/Poll.cls +5 -5
- {iris_pex_embedded_python-2.3.25b2/src/grongier/cls/Grongier/PEX → iris_pex_embedded_python-3.2.1b2/src/iop/cls/IOP}/PrivateSession/Message/Start.cls +5 -5
- {iris_pex_embedded_python-2.3.25b2/src/grongier/cls/Grongier/PEX → iris_pex_embedded_python-3.2.1b2/src/iop/cls/IOP}/PrivateSession/Message/Stop.cls +5 -5
- {iris_pex_embedded_python-2.3.25b2/src/grongier/cls/Grongier → iris_pex_embedded_python-3.2.1b2/src/iop/cls/IOP}/Service/WSGI.cls +1 -1
- {iris_pex_embedded_python-2.3.25b2/src/grongier/cls/Grongier/PEX → iris_pex_embedded_python-3.2.1b2/src/iop/cls/IOP}/Test.cls +30 -7
- {iris_pex_embedded_python-2.3.25b2/src/grongier/cls/Grongier/PEX → iris_pex_embedded_python-3.2.1b2/src/iop/cls/IOP}/Utils.cls +28 -24
- iris_pex_embedded_python-3.2.1b2/src/iop/wsgi/handlers.py +104 -0
- iris_pex_embedded_python-3.2.1b2/src/iris_pex_embedded_python.egg-info/PKG-INFO +90 -0
- {iris_pex_embedded_python-2.3.25b2 → iris_pex_embedded_python-3.2.1b2}/src/iris_pex_embedded_python.egg-info/SOURCES.txt +39 -13
- iris_pex_embedded_python-3.2.1b2/src/iris_pex_embedded_python.egg-info/entry_points.txt +2 -0
- iris_pex_embedded_python-3.2.1b2/src/iris_pex_embedded_python.egg-info/requires.txt +6 -0
- {iris_pex_embedded_python-2.3.25b2 → iris_pex_embedded_python-3.2.1b2}/src/iris_pex_embedded_python.egg-info/top_level.txt +1 -1
- iris_pex_embedded_python-2.3.25b2/PKG-INFO +0 -1384
- iris_pex_embedded_python-2.3.25b2/README.md +0 -1336
- iris_pex_embedded_python-2.3.25b2/src/grongier/cls/Grongier/PEX/Common.cls +0 -203
- iris_pex_embedded_python-2.3.25b2/src/grongier/cls/Grongier/PEX/Message.cls +0 -128
- iris_pex_embedded_python-2.3.25b2/src/grongier/pex/__init__.py +0 -24
- iris_pex_embedded_python-2.3.25b2/src/grongier/pex/_business_host.py +0 -481
- iris_pex_embedded_python-2.3.25b2/src/grongier/pex/_business_operation.py +0 -70
- iris_pex_embedded_python-2.3.25b2/src/grongier/pex/_business_process.py +0 -215
- iris_pex_embedded_python-2.3.25b2/src/grongier/pex/_common.py +0 -347
- iris_pex_embedded_python-2.3.25b2/src/iris/__init__.py +0 -60
- iris_pex_embedded_python-2.3.25b2/src/iris/__init__.pyi +0 -236
- iris_pex_embedded_python-2.3.25b2/src/iris/iris_ipm.py +0 -40
- iris_pex_embedded_python-2.3.25b2/src/iris/iris_ipm.pyi +0 -17
- iris_pex_embedded_python-2.3.25b2/src/iris_pex_embedded_python.egg-info/PKG-INFO +0 -1384
- iris_pex_embedded_python-2.3.25b2/src/iris_pex_embedded_python.egg-info/entry_points.txt +0 -2
- iris_pex_embedded_python-2.3.25b2/src/iris_pex_embedded_python.egg-info/requires.txt +0 -2
- {iris_pex_embedded_python-2.3.25b2 → iris_pex_embedded_python-3.2.1b2}/LICENSE +0 -0
- {iris_pex_embedded_python-2.3.25b2 → iris_pex_embedded_python-3.2.1b2}/setup.cfg +0 -0
- {iris_pex_embedded_python-2.3.25b2 → iris_pex_embedded_python-3.2.1b2}/setup.py +0 -0
- {iris_pex_embedded_python-2.3.25b2 → iris_pex_embedded_python-3.2.1b2}/src/grongier/__init__.py +0 -0
- {iris_pex_embedded_python-2.3.25b2 → iris_pex_embedded_python-3.2.1b2}/src/grongier/pex/wsgi/handlers.py +0 -0
- {iris_pex_embedded_python-2.3.25b2 → iris_pex_embedded_python-3.2.1b2}/src/intersystems_iris/_BufferReader.py +0 -0
- {iris_pex_embedded_python-2.3.25b2 → iris_pex_embedded_python-3.2.1b2}/src/intersystems_iris/_BufferWriter.py +0 -0
- {iris_pex_embedded_python-2.3.25b2 → iris_pex_embedded_python-3.2.1b2}/src/intersystems_iris/_ConnectionParameters.py +0 -0
- {iris_pex_embedded_python-2.3.25b2 → iris_pex_embedded_python-3.2.1b2}/src/intersystems_iris/_Constant.py +0 -0
- {iris_pex_embedded_python-2.3.25b2 → iris_pex_embedded_python-3.2.1b2}/src/intersystems_iris/_DBList.py +0 -0
- {iris_pex_embedded_python-2.3.25b2 → iris_pex_embedded_python-3.2.1b2}/src/intersystems_iris/_Device.py +0 -0
- {iris_pex_embedded_python-2.3.25b2 → iris_pex_embedded_python-3.2.1b2}/src/intersystems_iris/_GatewayContext.py +0 -0
- {iris_pex_embedded_python-2.3.25b2 → iris_pex_embedded_python-3.2.1b2}/src/intersystems_iris/_GatewayException.py +0 -0
- {iris_pex_embedded_python-2.3.25b2 → iris_pex_embedded_python-3.2.1b2}/src/intersystems_iris/_GatewayUtility.py +0 -0
- {iris_pex_embedded_python-2.3.25b2 → iris_pex_embedded_python-3.2.1b2}/src/intersystems_iris/_IRIS.py +0 -0
- {iris_pex_embedded_python-2.3.25b2 → iris_pex_embedded_python-3.2.1b2}/src/intersystems_iris/_IRISConnection.py +0 -0
- {iris_pex_embedded_python-2.3.25b2 → iris_pex_embedded_python-3.2.1b2}/src/intersystems_iris/_IRISEmbedded.py +0 -0
- {iris_pex_embedded_python-2.3.25b2 → iris_pex_embedded_python-3.2.1b2}/src/intersystems_iris/_IRISGlobalNode.py +0 -0
- {iris_pex_embedded_python-2.3.25b2 → iris_pex_embedded_python-3.2.1b2}/src/intersystems_iris/_IRISGlobalNodeView.py +0 -0
- {iris_pex_embedded_python-2.3.25b2 → iris_pex_embedded_python-3.2.1b2}/src/intersystems_iris/_IRISIterator.py +0 -0
- {iris_pex_embedded_python-2.3.25b2 → iris_pex_embedded_python-3.2.1b2}/src/intersystems_iris/_IRISList.py +0 -0
- {iris_pex_embedded_python-2.3.25b2 → iris_pex_embedded_python-3.2.1b2}/src/intersystems_iris/_IRISNative.py +0 -0
- {iris_pex_embedded_python-2.3.25b2 → iris_pex_embedded_python-3.2.1b2}/src/intersystems_iris/_IRISOREF.py +0 -0
- {iris_pex_embedded_python-2.3.25b2 → iris_pex_embedded_python-3.2.1b2}/src/intersystems_iris/_IRISObject.py +0 -0
- {iris_pex_embedded_python-2.3.25b2 → iris_pex_embedded_python-3.2.1b2}/src/intersystems_iris/_IRISReference.py +0 -0
- {iris_pex_embedded_python-2.3.25b2 → iris_pex_embedded_python-3.2.1b2}/src/intersystems_iris/_InStream.py +0 -0
- {iris_pex_embedded_python-2.3.25b2 → iris_pex_embedded_python-3.2.1b2}/src/intersystems_iris/_LegacyIterator.py +0 -0
- {iris_pex_embedded_python-2.3.25b2 → iris_pex_embedded_python-3.2.1b2}/src/intersystems_iris/_ListItem.py +0 -0
- {iris_pex_embedded_python-2.3.25b2 → iris_pex_embedded_python-3.2.1b2}/src/intersystems_iris/_ListReader.py +0 -0
- {iris_pex_embedded_python-2.3.25b2 → iris_pex_embedded_python-3.2.1b2}/src/intersystems_iris/_ListWriter.py +0 -0
- {iris_pex_embedded_python-2.3.25b2 → iris_pex_embedded_python-3.2.1b2}/src/intersystems_iris/_LogFileStream.py +0 -0
- {iris_pex_embedded_python-2.3.25b2 → iris_pex_embedded_python-3.2.1b2}/src/intersystems_iris/_MessageHeader.py +0 -0
- {iris_pex_embedded_python-2.3.25b2 → iris_pex_embedded_python-3.2.1b2}/src/intersystems_iris/_OutStream.py +0 -0
- {iris_pex_embedded_python-2.3.25b2 → iris_pex_embedded_python-3.2.1b2}/src/intersystems_iris/_PrintStream.py +0 -0
- {iris_pex_embedded_python-2.3.25b2 → iris_pex_embedded_python-3.2.1b2}/src/intersystems_iris/_PythonGateway.py +0 -0
- {iris_pex_embedded_python-2.3.25b2 → iris_pex_embedded_python-3.2.1b2}/src/intersystems_iris/_SharedMemorySocket.py +0 -0
- {iris_pex_embedded_python-2.3.25b2 → iris_pex_embedded_python-3.2.1b2}/src/intersystems_iris/__init__.py +0 -0
- {iris_pex_embedded_python-2.3.25b2 → iris_pex_embedded_python-3.2.1b2}/src/intersystems_iris/__main__.py +0 -0
- {iris_pex_embedded_python-2.3.25b2 → iris_pex_embedded_python-3.2.1b2}/src/intersystems_iris/dbapi/_Column.py +0 -0
- {iris_pex_embedded_python-2.3.25b2 → iris_pex_embedded_python-3.2.1b2}/src/intersystems_iris/dbapi/_Descriptor.py +0 -0
- {iris_pex_embedded_python-2.3.25b2 → iris_pex_embedded_python-3.2.1b2}/src/intersystems_iris/dbapi/_IRISStream.py +0 -0
- {iris_pex_embedded_python-2.3.25b2 → iris_pex_embedded_python-3.2.1b2}/src/intersystems_iris/dbapi/_Message.py +0 -0
- {iris_pex_embedded_python-2.3.25b2 → iris_pex_embedded_python-3.2.1b2}/src/intersystems_iris/dbapi/_Parameter.py +0 -0
- {iris_pex_embedded_python-2.3.25b2 → iris_pex_embedded_python-3.2.1b2}/src/intersystems_iris/dbapi/_ParameterCollection.py +0 -0
- {iris_pex_embedded_python-2.3.25b2 → iris_pex_embedded_python-3.2.1b2}/src/intersystems_iris/dbapi/_SQLType.py +0 -0
- {iris_pex_embedded_python-2.3.25b2 → iris_pex_embedded_python-3.2.1b2}/src/intersystems_iris/dbapi/__init__.py +0 -0
- {iris_pex_embedded_python-2.3.25b2 → iris_pex_embedded_python-3.2.1b2}/src/intersystems_iris/dbapi/preparser/_Scanner.py +0 -0
- {iris_pex_embedded_python-2.3.25b2 → iris_pex_embedded_python-3.2.1b2}/src/intersystems_iris/dbapi/preparser/_Token.py +0 -0
- {iris_pex_embedded_python-2.3.25b2 → iris_pex_embedded_python-3.2.1b2}/src/intersystems_iris/dbapi/preparser/_TokenList.py +0 -0
- {iris_pex_embedded_python-2.3.25b2 → iris_pex_embedded_python-3.2.1b2}/src/intersystems_iris/dbapi/preparser/__init__.py +0 -0
- {iris_pex_embedded_python-2.3.25b2 → iris_pex_embedded_python-3.2.1b2}/src/intersystems_iris/pex/_BusinessHost.py +0 -0
- {iris_pex_embedded_python-2.3.25b2 → iris_pex_embedded_python-3.2.1b2}/src/intersystems_iris/pex/_BusinessOperation.py +0 -0
- {iris_pex_embedded_python-2.3.25b2 → iris_pex_embedded_python-3.2.1b2}/src/intersystems_iris/pex/_BusinessProcess.py +0 -0
- {iris_pex_embedded_python-2.3.25b2 → iris_pex_embedded_python-3.2.1b2}/src/intersystems_iris/pex/_BusinessService.py +0 -0
- {iris_pex_embedded_python-2.3.25b2 → iris_pex_embedded_python-3.2.1b2}/src/intersystems_iris/pex/_Common.py +0 -0
- {iris_pex_embedded_python-2.3.25b2 → iris_pex_embedded_python-3.2.1b2}/src/intersystems_iris/pex/_Director.py +0 -0
- {iris_pex_embedded_python-2.3.25b2 → iris_pex_embedded_python-3.2.1b2}/src/intersystems_iris/pex/_IRISBusinessOperation.py +0 -0
- {iris_pex_embedded_python-2.3.25b2 → iris_pex_embedded_python-3.2.1b2}/src/intersystems_iris/pex/_IRISBusinessService.py +0 -0
- {iris_pex_embedded_python-2.3.25b2 → iris_pex_embedded_python-3.2.1b2}/src/intersystems_iris/pex/_IRISInboundAdapter.py +0 -0
- {iris_pex_embedded_python-2.3.25b2 → iris_pex_embedded_python-3.2.1b2}/src/intersystems_iris/pex/_IRISOutboundAdapter.py +0 -0
- {iris_pex_embedded_python-2.3.25b2 → iris_pex_embedded_python-3.2.1b2}/src/intersystems_iris/pex/_InboundAdapter.py +0 -0
- {iris_pex_embedded_python-2.3.25b2 → iris_pex_embedded_python-3.2.1b2}/src/intersystems_iris/pex/_Message.py +0 -0
- {iris_pex_embedded_python-2.3.25b2 → iris_pex_embedded_python-3.2.1b2}/src/intersystems_iris/pex/_OutboundAdapter.py +0 -0
- {iris_pex_embedded_python-2.3.25b2 → iris_pex_embedded_python-3.2.1b2}/src/intersystems_iris/pex/__init__.py +0 -0
- {iris_pex_embedded_python-2.3.25b2/src/grongier/pex → iris_pex_embedded_python-3.2.1b2/src/iop}/_pickle_message.py +0 -0
- {iris_pex_embedded_python-2.3.25b2 → iris_pex_embedded_python-3.2.1b2}/src/iris_pex_embedded_python.egg-info/dependency_links.txt +0 -0
- {iris_pex_embedded_python-2.3.25b2 → iris_pex_embedded_python-3.2.1b2}/src/irisnative/_IRISNative.py +0 -0
- {iris_pex_embedded_python-2.3.25b2 → iris_pex_embedded_python-3.2.1b2}/src/irisnative/__init__.py +0 -0
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
Metadata-Version: 2.2
|
|
2
|
+
Name: iris_pex_embedded_python
|
|
3
|
+
Version: 3.2.1b2
|
|
4
|
+
Summary: Iris Interoperability based on Embedded Python
|
|
5
|
+
Author-email: grongier <guillaume.rongier@intersystems.com>
|
|
6
|
+
License: MIT License
|
|
7
|
+
|
|
8
|
+
Copyright (c) 2019 InterSystems Developer Community
|
|
9
|
+
|
|
10
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
11
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
12
|
+
in the Software without restriction, including without limitation the rights
|
|
13
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
14
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
15
|
+
furnished to do so, subject to the following conditions:
|
|
16
|
+
|
|
17
|
+
The above copyright notice and this permission notice shall be included in all
|
|
18
|
+
copies or substantial portions of the Software.
|
|
19
|
+
|
|
20
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
21
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
22
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
23
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
24
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
25
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
26
|
+
SOFTWARE.
|
|
27
|
+
|
|
28
|
+
Project-URL: homepage, https://github.com/grongierisc/interoperability-embedded-python
|
|
29
|
+
Project-URL: documentation, https://github.com/grongierisc/interoperability-embedded-python/blob/master/README.md
|
|
30
|
+
Project-URL: repository, https://github.com/grongierisc/interoperability-embedded-python
|
|
31
|
+
Project-URL: issues, https://github.com/grongierisc/interoperability-embedded-python/issues
|
|
32
|
+
Keywords: iris,intersystems,python,embedded
|
|
33
|
+
Classifier: Development Status :: 5 - Production/Stable
|
|
34
|
+
Classifier: Intended Audience :: Developers
|
|
35
|
+
Classifier: License :: OSI Approved :: MIT License
|
|
36
|
+
Classifier: Operating System :: OS Independent
|
|
37
|
+
Classifier: Programming Language :: Python :: 3.6
|
|
38
|
+
Classifier: Programming Language :: Python :: 3.7
|
|
39
|
+
Classifier: Programming Language :: Python :: 3.8
|
|
40
|
+
Classifier: Programming Language :: Python :: 3.9
|
|
41
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
42
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
43
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
44
|
+
Classifier: Topic :: Utilities
|
|
45
|
+
Description-Content-Type: text/markdown
|
|
46
|
+
License-File: LICENSE
|
|
47
|
+
Requires-Dist: dacite>=1.6.0
|
|
48
|
+
Requires-Dist: xmltodict>=0.12.0
|
|
49
|
+
Requires-Dist: iris-embedded-python-wrapper>=0.0.6
|
|
50
|
+
Requires-Dist: setuptools>=40.8.0
|
|
51
|
+
Requires-Dist: dc-schema>=0.0.8
|
|
52
|
+
Requires-Dist: jsonpath-ng>=1.7.0
|
|
53
|
+
|
|
54
|
+
# IoP (Interoperability On Python)
|
|
55
|
+
|
|
56
|
+
[](https://pypi.org/project/iris-pex-embedded-python/)
|
|
57
|
+
[](https://pypi.org/project/iris-pex-embedded-python/)
|
|
58
|
+
[](https://pypi.org/project/iris-pex-embedded-python/)
|
|
59
|
+
[](https://pypi.org/project/iris-pex-embedded-python/)
|
|
60
|
+

|
|
61
|
+
|
|
62
|
+
Welcome to the **Interoperability On Python (IoP)** proof of concept! This project demonstrates how the **IRIS Interoperability Framework** can be utilized with a **Python-first approach**.
|
|
63
|
+
|
|
64
|
+
Documentation can be found [here](https://grongierisc.github.io/interoperability-embedded-python/).
|
|
65
|
+
|
|
66
|
+
## Example
|
|
67
|
+
|
|
68
|
+
Here's a simple example of how a Business Operation can be implemented in Python:
|
|
69
|
+
|
|
70
|
+
```python
|
|
71
|
+
from iop import BusinessOperation
|
|
72
|
+
|
|
73
|
+
class MyBo(BusinessOperation):
|
|
74
|
+
def on_message(self, request):
|
|
75
|
+
self.log_info("Hello World")
|
|
76
|
+
```
|
|
77
|
+
|
|
78
|
+
## Installation
|
|
79
|
+
|
|
80
|
+
To start using this proof of concept, install it using pip:
|
|
81
|
+
|
|
82
|
+
```bash
|
|
83
|
+
pip install iris-pex-embedded-python
|
|
84
|
+
```
|
|
85
|
+
|
|
86
|
+
## Getting Started
|
|
87
|
+
|
|
88
|
+
If you're new to this project, begin by reading the [installation guide](https://grongierisc.github.io/interoperability-embedded-python/getting-started/installation). Then, follow the [first steps](https://grongierisc.github.io/interoperability-embedded-python/getting-started/first-steps) to create your first Business Operation.
|
|
89
|
+
|
|
90
|
+
Happy coding!
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
# IoP (Interoperability On Python)
|
|
2
|
+
|
|
3
|
+
[](https://pypi.org/project/iris-pex-embedded-python/)
|
|
4
|
+
[](https://pypi.org/project/iris-pex-embedded-python/)
|
|
5
|
+
[](https://pypi.org/project/iris-pex-embedded-python/)
|
|
6
|
+
[](https://pypi.org/project/iris-pex-embedded-python/)
|
|
7
|
+

|
|
8
|
+
|
|
9
|
+
Welcome to the **Interoperability On Python (IoP)** proof of concept! This project demonstrates how the **IRIS Interoperability Framework** can be utilized with a **Python-first approach**.
|
|
10
|
+
|
|
11
|
+
Documentation can be found [here](https://grongierisc.github.io/interoperability-embedded-python/).
|
|
12
|
+
|
|
13
|
+
## Example
|
|
14
|
+
|
|
15
|
+
Here's a simple example of how a Business Operation can be implemented in Python:
|
|
16
|
+
|
|
17
|
+
```python
|
|
18
|
+
from iop import BusinessOperation
|
|
19
|
+
|
|
20
|
+
class MyBo(BusinessOperation):
|
|
21
|
+
def on_message(self, request):
|
|
22
|
+
self.log_info("Hello World")
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
## Installation
|
|
26
|
+
|
|
27
|
+
To start using this proof of concept, install it using pip:
|
|
28
|
+
|
|
29
|
+
```bash
|
|
30
|
+
pip install iris-pex-embedded-python
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
## Getting Started
|
|
34
|
+
|
|
35
|
+
If you're new to this project, begin by reading the [installation guide](https://grongierisc.github.io/interoperability-embedded-python/getting-started/installation). Then, follow the [first steps](https://grongierisc.github.io/interoperability-embedded-python/getting-started/first-steps) to create your first Business Operation.
|
|
36
|
+
|
|
37
|
+
Happy coding!
|
|
@@ -3,7 +3,7 @@ requires = ["setuptools", "wheel"]
|
|
|
3
3
|
|
|
4
4
|
[project]
|
|
5
5
|
name = "iris_pex_embedded_python"
|
|
6
|
-
version = "2.
|
|
6
|
+
version = "3.2.1b2"
|
|
7
7
|
description = "Iris Interoperability based on Embedded Python"
|
|
8
8
|
readme = "README.md"
|
|
9
9
|
authors = [
|
|
@@ -22,12 +22,17 @@ classifiers = [
|
|
|
22
22
|
"Programming Language :: Python :: 3.9",
|
|
23
23
|
"Programming Language :: Python :: 3.10",
|
|
24
24
|
"Programming Language :: Python :: 3.11",
|
|
25
|
+
"Programming Language :: Python :: 3.12",
|
|
25
26
|
"Topic :: Utilities"
|
|
26
27
|
]
|
|
27
28
|
|
|
28
29
|
dependencies = [
|
|
29
30
|
"dacite >=1.6.0",
|
|
30
|
-
"xmltodict>=0.12.0"
|
|
31
|
+
"xmltodict>=0.12.0",
|
|
32
|
+
"iris-embedded-python-wrapper>=0.0.6",
|
|
33
|
+
"setuptools>=40.8.0",
|
|
34
|
+
"dc-schema>=0.0.8",
|
|
35
|
+
"jsonpath-ng>=1.7.0"
|
|
31
36
|
]
|
|
32
37
|
|
|
33
38
|
license = { file = "LICENSE" }
|
|
@@ -39,7 +44,7 @@ repository = "https://github.com/grongierisc/interoperability-embedded-python"
|
|
|
39
44
|
issues = "https://github.com/grongierisc/interoperability-embedded-python/issues"
|
|
40
45
|
|
|
41
46
|
[project.scripts]
|
|
42
|
-
iop = "
|
|
47
|
+
iop = "iop._cli:main"
|
|
43
48
|
|
|
44
49
|
[tool.setuptools.packages.find]
|
|
45
50
|
where = ["src"]
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/* Copyright (c) 2021 by InterSystems Corporation.
|
|
2
|
+
Cambridge, Massachusetts, U.S.A. All rights reserved.
|
|
3
|
+
Confidential property of InterSystems Corporation. */
|
|
4
|
+
|
|
5
|
+
Class Grongier.PEX.BusinessOperation Extends IOP.BusinessOperation [ Inheritance = right, ProcedureBlock, System = 4 ]
|
|
6
|
+
{
|
|
7
|
+
|
|
8
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/* Copyright (c) 2021 by InterSystems Corporation.
|
|
2
|
+
Cambridge, Massachusetts, U.S.A. All rights reserved.
|
|
3
|
+
Confidential property of InterSystems Corporation. */
|
|
4
|
+
|
|
5
|
+
Class Grongier.PEX.BusinessProcess Extends IOP.BusinessProcess [ Inheritance = right, ProcedureBlock, System = 4 ]
|
|
6
|
+
{
|
|
7
|
+
|
|
8
|
+
Storage Default
|
|
9
|
+
{
|
|
10
|
+
<Type>%Storage.Persistent</Type>
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/* Copyright (c) 2021 by InterSystems Corporation.
|
|
2
|
+
Cambridge, Massachusetts, U.S.A. All rights reserved.
|
|
3
|
+
Confidential property of InterSystems Corporation. */
|
|
4
|
+
|
|
5
|
+
Class Grongier.PEX.BusinessService Extends IOP.BusinessService [ Inheritance = right, ProcedureBlock, System = 4 ]
|
|
6
|
+
{
|
|
7
|
+
|
|
8
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/* Copyright (c) 2021 by InterSystems Corporation.
|
|
2
|
+
Cambridge, Massachusetts, U.S.A. All rights reserved.
|
|
3
|
+
Confidential property of InterSystems Corporation. */
|
|
4
|
+
|
|
5
|
+
Include Ensemble
|
|
6
|
+
|
|
7
|
+
Class Grongier.PEX.Common Extends IOP.Common [ Abstract, ClassType = "", ProcedureBlock, System = 4 ]
|
|
8
|
+
{
|
|
9
|
+
|
|
10
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/* Copyright (c) 2021 by InterSystems Corporation.
|
|
2
|
+
Cambridge, Massachusetts, U.S.A. All rights reserved.
|
|
3
|
+
Confidential property of InterSystems Corporation. */
|
|
4
|
+
|
|
5
|
+
Include (%occInclude, Ensemble)
|
|
6
|
+
|
|
7
|
+
Class Grongier.PEX.Director Extends IOP.Director [ Inheritance = right, ProcedureBlock, System = 4 ]
|
|
8
|
+
{
|
|
9
|
+
|
|
10
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/* Copyright (c) 2022 by InterSystems Corporation.
|
|
2
|
+
Cambridge, Massachusetts, U.S.A. All rights reserved.
|
|
3
|
+
Confidential property of InterSystems Corporation. */
|
|
4
|
+
|
|
5
|
+
Class Grongier.PEX.DuplexProcess Extends IOP.BusinessProcess [ ClassType = persistent, ProcedureBlock, System = 4 ]
|
|
6
|
+
{
|
|
7
|
+
|
|
8
|
+
Storage Default
|
|
9
|
+
{
|
|
10
|
+
<Type>%Storage.Persistent</Type>
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/* Copyright (c) 2021 by InterSystems Corporation.
|
|
2
|
+
Cambridge, Massachusetts, U.S.A. All rights reserved.
|
|
3
|
+
Confidential property of InterSystems Corporation. */
|
|
4
|
+
|
|
5
|
+
Class Grongier.PEX.InboundAdapter Extends IOP.InboundAdapter [ Inheritance = right, ProcedureBlock, System = 4 ]
|
|
6
|
+
{
|
|
7
|
+
|
|
8
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/* Copyright (c) 2021 by InterSystems Corporation.
|
|
2
|
+
Cambridge, Massachusetts, U.S.A. All rights reserved.
|
|
3
|
+
Confidential property of InterSystems Corporation. */
|
|
4
|
+
|
|
5
|
+
Class Grongier.PEX.Message Extends IOP.Message
|
|
6
|
+
{
|
|
7
|
+
|
|
8
|
+
Storage Default
|
|
9
|
+
{
|
|
10
|
+
<Type>%Storage.Persistent</Type>
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/* Copyright (c) 2021 by InterSystems Corporation.
|
|
2
|
+
Cambridge, Massachusetts, U.S.A. All rights reserved.
|
|
3
|
+
Confidential property of InterSystems Corporation. */
|
|
4
|
+
|
|
5
|
+
Class Grongier.PEX.OutboundAdapter Extends IOP.OutboundAdapter [ Inheritance = right, ProcedureBlock, System = 4 ]
|
|
6
|
+
{
|
|
7
|
+
|
|
8
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/* Copyright (c) 2021 by InterSystems Corporation.
|
|
2
|
+
Cambridge, Massachusetts, U.S.A. All rights reserved.
|
|
3
|
+
Confidential property of InterSystems Corporation. */
|
|
4
|
+
|
|
5
|
+
Class Grongier.PEX.PickleMessage Extends IOP.PickleMessage
|
|
6
|
+
{
|
|
7
|
+
|
|
8
|
+
Storage Default
|
|
9
|
+
{
|
|
10
|
+
<Type>%Storage.Persistent</Type>
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/* Copyright (c) 2022 by InterSystems Corporation.
|
|
2
|
+
Cambridge, Massachusetts, U.S.A. All rights reserved.
|
|
3
|
+
Confidential property of InterSystems Corporation. */
|
|
4
|
+
|
|
5
|
+
Class Grongier.PEX.PrivateSessionDuplex Extends IOP.PrivateSessionDuplex [ Abstract, System = 4 ]
|
|
6
|
+
{
|
|
7
|
+
|
|
8
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/* Copyright (c) 2022 by InterSystems Corporation.
|
|
2
|
+
Cambridge, Massachusetts, U.S.A. All rights reserved.
|
|
3
|
+
Confidential property of InterSystems Corporation. */
|
|
4
|
+
|
|
5
|
+
/// This class is a DICOM framework class
|
|
6
|
+
Class Grongier.PEX.PrivateSession.Message.Ack Extends IOP.PrivateSession.Message.Ack [ ClassType = persistent, Inheritance = right, ProcedureBlock, System = 4 ]
|
|
7
|
+
{
|
|
8
|
+
|
|
9
|
+
Storage Default
|
|
10
|
+
{
|
|
11
|
+
<Type>%Storage.Persistent</Type>
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
}
|
iris_pex_embedded_python-3.2.1b2/src/grongier/cls/Grongier/PEX/PrivateSession/Message/Poll.cls
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/* Copyright (c) 2022 by InterSystems Corporation.
|
|
2
|
+
Cambridge, Massachusetts, U.S.A. All rights reserved.
|
|
3
|
+
Confidential property of InterSystems Corporation. */
|
|
4
|
+
|
|
5
|
+
/// This class is a DICOM framework class
|
|
6
|
+
Class Grongier.PEX.PrivateSession.Message.Poll Extends IOP.PrivateSession.Message.Poll [ ClassType = persistent, Inheritance = right, ProcedureBlock, System = 4 ]
|
|
7
|
+
{
|
|
8
|
+
|
|
9
|
+
Storage Default
|
|
10
|
+
{
|
|
11
|
+
<Type>%Storage.Persistent</Type>
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
}
|
iris_pex_embedded_python-3.2.1b2/src/grongier/cls/Grongier/PEX/PrivateSession/Message/Start.cls
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/* Copyright (c) 2022 by InterSystems Corporation.
|
|
2
|
+
Cambridge, Massachusetts, U.S.A. All rights reserved.
|
|
3
|
+
Confidential property of InterSystems Corporation. */
|
|
4
|
+
|
|
5
|
+
/// This class is a DICOM framework class
|
|
6
|
+
Class Grongier.PEX.PrivateSession.Message.Start Extends IOP.PrivateSession.Message.Start [ ClassType = persistent, Inheritance = right, ProcedureBlock, System = 4 ]
|
|
7
|
+
{
|
|
8
|
+
|
|
9
|
+
Storage Default
|
|
10
|
+
{
|
|
11
|
+
<Type>%Storage.Persistent</Type>
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
}
|
iris_pex_embedded_python-3.2.1b2/src/grongier/cls/Grongier/PEX/PrivateSession/Message/Stop.cls
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/* Copyright (c) 2022 by InterSystems Corporation.
|
|
2
|
+
Cambridge, Massachusetts, U.S.A. All rights reserved.
|
|
3
|
+
Confidential property of InterSystems Corporation. */
|
|
4
|
+
|
|
5
|
+
/// This class is a DICOM framework class
|
|
6
|
+
Class Grongier.PEX.PrivateSession.Message.Stop Extends IOP.PrivateSession.Message.Stop [ ClassType = persistent, Inheritance = right, ProcedureBlock, System = 4 ]
|
|
7
|
+
{
|
|
8
|
+
|
|
9
|
+
Storage Default
|
|
10
|
+
{
|
|
11
|
+
<Type>%Storage.Persistent</Type>
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
from iop._business_service import _BusinessService
|
|
2
|
+
from iop._business_process import _BusinessProcess
|
|
3
|
+
from iop._private_session_duplex import _PrivateSessionDuplex
|
|
4
|
+
from iop._private_session_process import _PrivateSessionProcess
|
|
5
|
+
from iop._business_operation import _BusinessOperation
|
|
6
|
+
from iop._inbound_adapter import _InboundAdapter
|
|
7
|
+
from iop._outbound_adapter import _OutboundAdapter
|
|
8
|
+
from iop._message import _Message
|
|
9
|
+
from iop._pickle_message import _PickleMessage
|
|
10
|
+
from iop._director import _Director
|
|
11
|
+
from iop._utils import _Utils
|
|
12
|
+
|
|
13
|
+
class Utils(_Utils): pass
|
|
14
|
+
class InboundAdapter(_InboundAdapter): pass
|
|
15
|
+
class OutboundAdapter(_OutboundAdapter): pass
|
|
16
|
+
class BusinessService(_BusinessService): pass
|
|
17
|
+
class BusinessOperation(_BusinessOperation): pass
|
|
18
|
+
class BusinessProcess(_BusinessProcess): pass
|
|
19
|
+
class DuplexService(_PrivateSessionDuplex): pass
|
|
20
|
+
class DuplexOperation(_PrivateSessionDuplex): pass
|
|
21
|
+
class DuplexProcess(_PrivateSessionProcess): pass
|
|
22
|
+
class Message(_Message): pass
|
|
23
|
+
class PickleMessage(_PickleMessage): pass
|
|
24
|
+
class Director(_Director): pass
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
from iop._business_host import _BusinessHost
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
from iop._common import _Common
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
from iop._director import _Director
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
from iop._utils import _Utils
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import intersystems_iris._Constant
|
|
2
2
|
|
|
3
|
-
class _ConnectionInformation(object):
|
|
4
3
|
|
|
4
|
+
class _ConnectionInformation(object):
|
|
5
5
|
def __init__(self):
|
|
6
6
|
self.protocol_version = intersystems_iris._Constant._Constant.PROTOCOL_VERSION
|
|
7
7
|
self._is_unicode = True
|
|
@@ -20,9 +20,10 @@ class _ConnectionInformation(object):
|
|
|
20
20
|
def _parse_server_version(self, server_version):
|
|
21
21
|
split_1 = server_version.split("|")
|
|
22
22
|
self._server_version = split_1[0]
|
|
23
|
-
if len(split_1)>1:
|
|
23
|
+
if len(split_1) > 1:
|
|
24
|
+
self._iris_install_dir = split_1[1]
|
|
24
25
|
if self._server_version.find("Version") > 0:
|
|
25
|
-
version = server_version[server_version.find("Version")+8:]
|
|
26
|
+
version = server_version[server_version.find("Version") + 8 :]
|
|
26
27
|
self._server_version_major = version.split(".")[0]
|
|
27
28
|
self._server_version_minor = version.split(".")[1]
|
|
28
29
|
return
|
|
@@ -31,24 +32,25 @@ class _ConnectionInformation(object):
|
|
|
31
32
|
def _map_server_locale(locale):
|
|
32
33
|
# we need to map IRIS locale literals to Python locale literals
|
|
33
34
|
_locales = {
|
|
34
|
-
"LATIN1": "latin_1",
|
|
35
|
-
"LATIN2": "iso8859_2",
|
|
36
|
-
"LATINC": "iso8859_5",
|
|
37
|
-
"LATINA": "iso8859_6",
|
|
38
|
-
"LATING": "iso8859_7",
|
|
39
|
-
"LATINH": "iso8859_8",
|
|
40
|
-
"LATINT": "iso8859_11",
|
|
41
|
-
"LATIN9": "iso8859_15",
|
|
42
|
-
"CP1250": "cp1250",
|
|
43
|
-
"CP1251": "cp1251",
|
|
44
|
-
"CP1252": "cp1252",
|
|
45
|
-
"CP1253": "cp1253",
|
|
46
|
-
"CP1255": "cp1255",
|
|
47
|
-
"CP1256": "cp1256",
|
|
48
|
-
"CP1257": "cp1257",
|
|
49
|
-
"CP874": "cp874",
|
|
35
|
+
"LATIN1": "latin_1",
|
|
36
|
+
"LATIN2": "iso8859_2",
|
|
37
|
+
"LATINC": "iso8859_5",
|
|
38
|
+
"LATINA": "iso8859_6",
|
|
39
|
+
"LATING": "iso8859_7",
|
|
40
|
+
"LATINH": "iso8859_8",
|
|
41
|
+
"LATINT": "iso8859_11",
|
|
42
|
+
"LATIN9": "iso8859_15",
|
|
43
|
+
"CP1250": "cp1250",
|
|
44
|
+
"CP1251": "cp1251",
|
|
45
|
+
"CP1252": "cp1252",
|
|
46
|
+
"CP1253": "cp1253",
|
|
47
|
+
"CP1255": "cp1255",
|
|
48
|
+
"CP1256": "cp1256",
|
|
49
|
+
"CP1257": "cp1257",
|
|
50
|
+
"CP874": "cp874",
|
|
50
51
|
"UNICODE": "utf-8",
|
|
51
52
|
}
|
|
52
53
|
return _locales[locale.upper()] if locale.upper() in _locales else locale
|
|
53
54
|
|
|
54
|
-
|
|
55
|
+
def __repr__(self) -> str:
|
|
56
|
+
return f"<{self._server_version}>"
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
from typing import Union
|
|
1
2
|
import struct
|
|
2
3
|
import copy
|
|
3
4
|
import enum
|
|
@@ -25,6 +26,7 @@ from ._SQLType import SQLType
|
|
|
25
26
|
|
|
26
27
|
from .._IRISNative import connect as native_connect
|
|
27
28
|
from .._IRISEmbedded import _IRISEmbedded
|
|
29
|
+
from intersystems_iris._IRISConnection import _IRISConnection
|
|
28
30
|
|
|
29
31
|
|
|
30
32
|
def NotImplementedErrorDBAPI(msg=None):
|
|
@@ -42,7 +44,7 @@ def embedded_connect(*args, hostname=None, port=None, namespace=None, username=N
|
|
|
42
44
|
return connection
|
|
43
45
|
|
|
44
46
|
|
|
45
|
-
def connect(*args, embedded=False, hostname=None, port=None, namespace=None, username=None, password=None, **kw):
|
|
47
|
+
def connect(*args, embedded=False, hostname=None, port=None, namespace=None, username=None, password=None, **kw) -> Union[_IRISConnection, _IRISEmbedded]:
|
|
46
48
|
try:
|
|
47
49
|
if not embedded:
|
|
48
50
|
return native_connect(
|
|
@@ -1180,6 +1182,8 @@ class Cursor(_BaseCursor):
|
|
|
1180
1182
|
sets = self._parameter_sets or 1
|
|
1181
1183
|
self.params = list(self.params).copy()
|
|
1182
1184
|
param_types = [param.type for param in self._params._params_list]
|
|
1185
|
+
if not self.params:
|
|
1186
|
+
return
|
|
1183
1187
|
|
|
1184
1188
|
for i in range(sets):
|
|
1185
1189
|
params = self._params.collect(i)
|
|
@@ -2149,6 +2153,7 @@ class Cursor(_BaseCursor):
|
|
|
2149
2153
|
|
|
2150
2154
|
if retval is None:
|
|
2151
2155
|
return retval
|
|
2156
|
+
# print('retval', retval[:])
|
|
2152
2157
|
return retval.as_tuple()
|
|
2153
2158
|
# return tuple(retval[:])
|
|
2154
2159
|
|