Looks like you specify namespace in the iris.connect() args.
- Log in to post comments
Looks like you specify namespace in the iris.connect() args.
import iris
# Open a connection to the server
args = {'hostname':'127.0.0.1', 'port':52773,
'namespace':'USER', 'username':'_SYSTEM', 'password':'SYS'
}
conn = iris.connect(**args)
# Create an iris object
irispy = iris.createIRIS(conn)
It seems like each connection object represents a connection to only one namespace.It looks like the constructor for the connection object will take a namespace, and therefore will be locked to that one.
I'm making that assumption based on this page: https://docs.intersystems.com/irislatest/csp/docbook/DocBook.UI.Page.cl…