tornadoapi
latest
安装与升级
快速开始
参数配置
Handler
布尔参数
字符串参数
选择参数
日期参数
日期时间参数
Decimal参数
浮点数参数
整型参数
JSON参数
分割字符串参数
时间参数
修改历史
tornadoapi
Docs
»
Handler
»
布尔参数
Edit on GitHub
布尔参数
¶
class
tornadoapi.fields.
BooleanField
(
*args
,
**kwargs
)
[源代码]
¶
布尔参数
参数:
description
– 名称
required
– 是否必填
default
– 默认值
help_text
– 说明
raw_body
– 是否从POST BODY 原始数据获取
error_messages
– 错误信息
validators
– 检查器
allow_null
– 是否允许为None
Read the Docs
v: latest
Versions
latest
stable
Downloads
On Read the Docs
Project Home
Builds
Free document hosting provided by
Read the Docs
.