Closed tresbailey closed 10 years ago
Should the default value be None
?
Thank you!
I got errors when passing in None to hit instances in a lower envirinment without replica sets. I will confirm the error and check on the pymongo documentation. Thanks for the quick response.
Cool. No problem with the empty string, just checking :)
Confirmed that I receive an error when connecting with None as the default: TypeError: Wrong type for replicaSet, value must be an instance of basestring
In the pymongo docs, it looks like the replicaSet keyword requires a string value: http://api.mongodb.org/python/current/api/pymongo/connection.html
Great, I will merge! :)
Uses the default pymongo connect method and keyword replicaSet. To use the replica set, its name must be passed into the config item, "MONGOALCHEMY_REPLICA_SET".