Package build :: Module model :: Class SessionCreator |
[hide private]
[frames] | no frames]

# Class SessionCreator

source code

    object --+
             |
            SessionCreator

Session Creator object.

Instance Methods | [hide private]
__init__(self, username=None, password=None, provider=None) Init the SessionCreator object. | source code
session(self, database) Get a session for a database. | source code
close(self) | source code
Inherited from `object`: `__delattr__`, `__getattribute__`, `__hash__`, `__new__`, `__reduce__`, `__reduce_ex__`, `__repr__`, `__setattr__`, `__str__`

Properties | [hide private]
Inherited from `object`: `__class__`

Method Details | [hide private]

### __init__(self, username=None, password=None, provider=None) (Constructor) | source code
Init the SessionCreator object. Overrides: object.__init__

### session(self, database) | source code
Get a session for a database. If no session exists just create a new one.