You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 14, 2020. It is now read-only.
Consider:
In [1]: from mongokit.auth import User
In [2]: myuser = User()
In [3]: myuser.password = 'secret'
In [4]: myuser.password
Out[5]: u'46d7d2b9ad86c80e9721f7ff7a1c4956166167b3d7ed2bf1cf76a2dbb8e3a101a204b9d1337a64c0'
Works as expected.
But:
In [6]: myseconduser = User()
In [7]: myseconduser['password'] = 'moresecret'
In [8]: myseconduser['password']
Out [8]: 'moresecret'
After I set use_dot_notation to True:
In [9]: myseconduser.user.password = 'topsecret'
In [10]: myseconduser.user.password
Out [10]: 'topsecret'
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Consider:
In [1]: from mongokit.auth import User
In [2]: myuser = User()
In [3]: myuser.password = 'secret'
In [4]: myuser.password
Out[5]: u'46d7d2b9ad86c80e9721f7ff7a1c4956166167b3d7ed2bf1cf76a2dbb8e3a101a204b9d1337a64c0'
Works as expected.
But:
In [6]: myseconduser = User()
In [7]: myseconduser['password'] = 'moresecret'
In [8]: myseconduser['password']
Out [8]: 'moresecret'
After I set use_dot_notation to True:
In [9]: myseconduser.user.password = 'topsecret'
In [10]: myseconduser.user.password
Out [10]: 'topsecret'
The text was updated successfully, but these errors were encountered: