str 类型的字符串通常被称为普通字符串(plain string),区别于 unicode 类型的字符串(unicode string): >>> s = 'this is a plain string.
基于12个网页-相关网页
如果是普通字符串,则被当作列名。
If it is a plain string, it is assumed to be a plain column name.
在最初的测试客户机中,我们向队列发送一个普通字符串。
In the original test client, we sent a plain string to the queue.
如果要使用标准库的类型,或者一些源代码的其它库,您需要在模型中将这些类型设置为普通的字符串。
If you need to use types from the standard library, or from some other library in your source code, you have to set such types as plain strings in your model.
应用推荐