Skip to content
New issue

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

Aerospike (Python) doesn't store sets #36

Closed
thmour opened this issue Feb 5, 2015 · 1 comment
Closed

Aerospike (Python) doesn't store sets #36

thmour opened this issue Feb 5, 2015 · 1 comment
Labels

Comments

@thmour
Copy link

thmour commented Feb 5, 2015

Title says it all.

client.put(('db', 'table', 'key'), { 'val': 1 })
print(client.get(('db', 'table', 'key'))[2])
#prints { 'val': 1 }
client.put(('db', 'table', 'key'), { 'val': {1, 2} })
print(client.get(('db', 'table', 'key'))[2])
#prints { 'val': 1 }
client.put(('db', 'table', 'key2'), { 'val': {1, 2} })
print(client.get(('db', 'table', 'key2'))[2])
#prints None
@rbotzer rbotzer added the bug label Feb 5, 2015
@rbotzer
Copy link
Member

rbotzer commented Mar 18, 2015

Fixed in 1.0.39. The result is:

{'val': 1}
{'val': set([1, 2])}
{'val': set([1, 2])}

@rbotzer rbotzer closed this as completed Mar 18, 2015
rbotzer added a commit that referenced this issue Apr 3, 2015
Raise an exception if bin name is too long
dwelch-spike added a commit that referenced this issue May 11, 2021
Add requirements.txt for readthedocs.org
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants