validate.py 文件源码

python
阅读 23 收藏 0 点赞 0 评论 0

项目:voat 作者: Cightline 项目源码 文件源码
def api_token(self, api_token):
        # FIX: make this actually check the token type
        schema = Schema({ Required('api_token'): All(str, Length(min=36, max=36))})

        return self.try_schema('api_token', api_token, schema)
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号