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 Nov 5, 2019. It is now read-only.
index = SON()
for (key, value) in index_list:
if not isinstance(key, basestring):
raise TypeError("first item in each key pair must be a string")
if value not in [ASCENDING, DESCENDING, GEO2D, {'$meta': 'textScore'}]:
raise TypeError("second item in each key pair must be ASCENDING, "
"DESCENDING, or GEO2D")
index[key] = value
return index
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.
something:
The text was updated successfully, but these errors were encountered: