Fix Python modules to handle scheduling parameters correctly