fix sphinx; fix TypeError in DASQuery

see https://github.com/dmwm/DAS/commit/2b630844bc1f1fdb5c6c5740fd359eb9d81ec42f#commitcomment-4916095

fixes https://github.com/dmwm/DAS/issues/4100