Python module - use master nodes or data nodes?

If they are dedicated masters, then you should not be using them.