Open manics opened 3 years ago
conn = BlitzGateway(username=..., host=..., passwd=..., securet=True) print(type(conn.getSession())) print(type(conn.c.getSession()))
output:
<class 'omero.model.SessionI'> <class 'omero.api.ServiceFactoryPrx'>
conn.c.getSession() behaves intuitively, e.g. you can call conn.c.getSession().getQueryService(). conn.getSession() doesn't.
conn.c.getSession()
conn.c.getSession().getQueryService()
conn.getSession()
It would likely take deprecating one or both of these and introducing new versions to not lead to more confusion. c.getSession would additionally need to be modified in Java & C++.
c.getSession
output:
conn.c.getSession()
behaves intuitively, e.g. you can callconn.c.getSession().getQueryService()
.conn.getSession()
doesn't.