I'm not sure this is the right place to post, but I'm having issues
pymongo taking into account the read preference.
In short, pymongo always connects to the primary member in a replica set.
Here are two examples:
Am I doing something wrong?
I'm not sure what else should I try.
Here is the rs.conf() of the three servers:
and the rs.status():