'Returns the Session singleton if it exists or otherwise creates it first, in which
case you need to pass the constructor params.
:return: the Session singleton'

@staticmethod
def get_instance(*args, **kw):

    if (Session.__single is None):
        Session(*args, **kw)
    return Session.__single
