

def init(self, database, max_connections=None, stale_timeout=None, **connect_kwargs):
    super(PooledDatabase, self).init(database, **connect_kwargs)
    if max_connections:
        self.max_connections = max_connections
    if stale_timeout:
        self.stale_timeout = stale_timeout

dataset/ETHPy150Open coleifer/peewee/playhouse/pool.py PooledDatabase.init/original