Package bw :: Package iris :: Module iris
[frames] | no frames]

Module iris

Functions
 
findObject(y)
Manage the global connection pool and return the next available proxy object.
 
get_username()
Get the username of the currently logged in user.
 
get_password()
Get the password of the currently logged in user.
 
get_uid()
Get the user_id of the currently logged in user.
 
get_user()
Get the user object of the currently logged in user.
 
get_property_for_user(uid, prop)
To get the user's preferences >>> get_property_for_user(uid, "preferences") To get the user's tags >>> get_property_for_user(uid, "tags")
Variables
  NAME = 'default'
  proxies = threading.local()

Imports: threading, socket, ConfigParser, cherrypy, Pyro, idea, cycle, IrisError, StringIO


Function Details

findObject(y)

 

Manage the global connection pool and return the next available proxy object. In case nothing is available, create a new connection.

Parameters:
  • y - The name of the proxy