python: add `spooler_pids` api for multi-spooler

the old `spooler_pid` api only return the first spooler pid