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.cls...
Certifications & Credly badges:
Owen has no Certifications & Credly badges yet.
Global Masters badges:
Owen has no Global Masters badges yet.
Followers:
Owen has no followers yet.
Following:
Owen has not followed anybody yet.
Looks like you specify namespace in the iris.connect() args.