We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Looks like _ is wrong in the name of the parameters. print parsed['options'].get('readpreference') print parsed['options'].get('replicaset')
Gives me values but the code uses replica_set, read_preference which prints None
{'username': None, 'nodelist': [('mongo02', 27017), ('mongo03', 27017)], 'database': 'articles', 'collection': None, 'password': None, 'options': {'readpreference': 2, 'replicaset': 'rs0'}}
thorugh MONGO_URI='mongodb://mongo02,mongo03/articles?replicaSet=rs0&readPreference=secondary'
The text was updated successfully, but these errors were encountered:
Fixed in #86.
Sorry, something went wrong.
No branches or pull requests
Looks like _ is wrong in the name of the parameters.
print parsed['options'].get('readpreference')
print parsed['options'].get('replicaset')
Gives me values but the code uses replica_set, read_preference which prints None
{'username': None, 'nodelist': [('mongo02', 27017), ('mongo03', 27017)], 'database': 'articles', 'collection': None, 'password': None, 'options': {'readpreference': 2, 'replicaset': 'rs0'}}
thorugh MONGO_URI='mongodb://mongo02,mongo03/articles?replicaSet=rs0&readPreference=secondary'
The text was updated successfully, but these errors were encountered: