Example Api Database Connection Pooling In Python