config
feishu.gateway.config
¶
GatewayConfig
dataclass
¶
可部署飞书网关的配置对象。
源代码位于: feishu/gateway/config.py
from_env
classmethod
¶
Python
from_env(environ: Mapping[str, str] | None = None) -> GatewayConfig
从环境变量构建网关配置。
源代码位于: feishu/gateway/config.py
parse_service_keys
¶
把 service:key 列表解析为网关使用的 {key: service} 映射。