pysnow的烧瓶延长件
Flask-pysnow的Python项目详细描述
安装
$pip安装烧瓶pysnow
配置
Name | Default value | Description |
---|---|---|
PYSNOW_INSTANCE | None | Instance name |
PYSNOW_HOST | None | FQDN (instead of instance) |
PYSNOW_USER | None | |
PYSNOW_PASSWORD | None | |
PYSNOW_OAUTH | None | Oauth config (if not using user/pass credentials) |
PYSNOW_REQUEST_PARAMS | {} | Request params to pass along to the pysnow client |
PYSNOW_ENABLE_LOGGING | True | Logs information about requests |
PYSNOW_USE_SSL | True | |
PYSNOW_RAISE_ON_EMPTY | False | Raise exception on empty result sets |
瓶瓶pysnow扩展期望包含一个dict of客户id和客户机密
文件
完整的文档是可用的here
相容性
Python2和3。测试:Python2.6+和Python3.3+