Skip to main content

%SYSTEM.python.SQL

Class %SYSTEM.python.SQL [ Language = objectscript, Owner = {%Manager}, System = 4 ]

This class implements SQL functions to support %SYSTEM.python

Methods

addPath

ClassMethod addPath(path As %String) As %Integer [ SqlName = add_path, SqlProc ]

Add a path to executables to the current python gateway path. For Python, this can be a folder representing a package or a .py file URL.

closeGateway

ClassMethod closeGateway() As %Integer [ SqlName = close_gateway, SqlProc ]

Close the gateway connection to the External Python Server.