-
Type: Improvement
-
Resolution: Unresolved
-
Priority: Major - P3
-
None
-
Affects Version/s: 3.7.2
-
Component/s: Query Operations
-
None
I was playing with pymongo and transactions a little...
Why can I pass read_preference to start_transaction() when transactions only allow primary anyway? Should docs at least mention this?
http://api.mongodb.com/python/current/api/pymongo/client_session.html#pymongo.client_session.TransactionOptions
http://api.mongodb.com/python/current/api/pymongo/client_session.html#pymongo.client_session.ClientSession.start_transaction