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

python set(key,value)里要求value 有len函数 #15

Open
hxsnow10 opened this issue Feb 27, 2017 · 2 comments
Open

python set(key,value)里要求value 有len函数 #15

hxsnow10 opened this issue Feb 27, 2017 · 2 comments

Comments

@hxsnow10
Copy link

value本来int也是可以的,self.__getProxy().set(self.__convertKey(key), value) 能跑

但是加了if len(value)判断就要先把value转化为str, 这代码不合适吧?

@hxsnow10
Copy link
Author

还有一个问题.., python 版本怎么删除某个Bussiness_id下所有数据

@jwfy
Copy link

jwfy commented Apr 6, 2017

他这个估计是默认对字符串的吧,只能是自己添加对类型判定,如果是int肯定没len

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants