Learning Documentation Community Open Exchange Global Masters Certification Partner Directory Ideas Portal
Developer Community
  • Posts
    • InterSystems Official
    • Articles
    • Questions
    • Announcements
    • Discussions
    • Tags
  • Events
    • Tech Article Contest
    • Programming Contest
    • InterSystems Ideas Contest
    • Event Calendar
  • Products
    • InterSystems IRIS
    • InterSystems IRIS for Health
    • HealthShare
    • TrakCare
    • Caché
    • Ensemble
    • InterSystems Analytics (DeepSee)
    • InterSystems Text Analytics (iKnow)
  • Jobs
    • Job Opportunity
    • Job Wanted
  • Members
  • About
    • About Us
    • FAQ
    • Feedback
    • Report an Issue
    • Share an Idea
    • Code of Conduct
    • Contact Us

EN

Search by posts, members, tags
Language
EN|
ESPTJPCNFREN
  • Profile page
  • Posts (0)
  • Replies (3)
  • Mentions (0)
  • Official certification & Credly badges (0)
  • Global Masters badges (0)
  • Following (0)
  • Followers (0)
AllAccepted answers
    go to post
Owen Crane · Aug 20

Looks like you specify namespace in the iris.connect() args.

0 0 https://community.intersystems.com/post/do-i-need-separate-python-iris-connection-each-namespace#comment-282637
    go to post
Owen Crane · Aug 20
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)
0 0 https://community.intersystems.com/post/do-i-need-separate-python-iris-connection-each-namespace#comment-282636
    go to post
Owen Crane · Aug 20

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... 

1 0 https://community.intersystems.com/post/do-i-need-separate-python-iris-connection-each-namespace#comment-282635
Owen Crane
@Owen.Crane
STAFF
Follow

User statistics

Posts
0
Replies
3
Likes
1
Applications
0
Badges
0
Followers
0
People reached
0
Accepted answers
0
  • Privacy & Terms
  • Guarantee
  • Section 508
  • Contest Terms
  • Cookies Settings
© 2025 InterSystems Corporation, Cambridge, MA. All rights reserved.

Log in or sign up

Log in or create a new account to continue

Log inSign up

Log in or sign up

Log in or create a new account to continue

Log inSign up

Log in or sign up

Log in or create a new account to continue

Log inSign up

Log in or sign up

Log in or create a new account to continue

Log inSign up