2 Star 0 Fork 5

anolis/python-tone-agent

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
base.py 586 Bytes
一键复制 编辑 原始数据 按行查看 历史
youhuo 提交于 2022-09-29 14:57 +08:00 . feat: init toneagent repository
from __future__ import annotations
class BaseSettings:
"""配置基类"""
# app
DEBUG: bool = True
SECRET_KEY: str
BASE_DIR: str
WORKS_NUM: int
APP_PORT: int
# scheduler interval
PULL_TASK_INTERVAL: int
SYNC_RESULT_INTERVAL: int
SYNC_HEARTBEAT_INTERVAL: int
# agent api
AGENT_SYNC_RESULT_API = 'api/agent/result_sync'
AGENT_PULL_TASK_API = 'api/agent/pull_task'
AGENT_HEARTBEAT_API = 'api/agent/heartbeat'
# agent config
AGENT_CONFIG_FILE_NAME = 'toneagent.config.yaml'
AGENT_TSN_ENCRYPT_SALT = 'tone-agent'
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Python
1
https://gitee.com/anolis/python-tone-agent.git
git@gitee.com:anolis/python-tone-agent.git
anolis
python-tone-agent
python-tone-agent
master

搜索帮助