def __init__(self, db_name, container=None): self.b_debug = False self.b_commit = True self.db_name = db_name self.container = threading_local()
def __init__(self, db_filename, db_path=None): self.b_debug = False self.b_commit = True self.db_name = os.path.join(db_path, db_filename) self.container = threading_local()
def __init__(self): super(BaseController, self).__init__() self.local = threading_local()