Now I want to implement a method within pyslid. The main issue I have is that I create the connection in the following fashion
- Code: Select all
def connect( server, port, username, password ):
'''
Helper method that connects to an OMERO.searcher server.
@param server
@param port
@param username
@param password
@returns connection
'''
try:
conn = BlitzGateway( username, password, host=server, port=int(port))
conn.connect()
return conn
except:
return None
meaning I don't create a client. So I have two questions. Either I think will provide me with a solution
1) is it possible to delete an object without a client object? is the callback strictly neccesary?
2) is it possible to get the client from the connection?
thanks
ivan