Compare commits
No commits in common. "aa21850643550b88800b957ba57bf3799846fdb1" and "ceef34c5239faa7325d45b4063aed3e4be470341" have entirely different histories.
aa21850643
...
ceef34c523
|
|
@ -5,5 +5,4 @@
|
||||||
.venv
|
.venv
|
||||||
tests/*
|
tests/*
|
||||||
!tests/**/*.py
|
!tests/**/*.py
|
||||||
tests/generate_appendix.py
|
tests/generate_appendix.py
|
||||||
__pycache__
|
|
||||||
|
|
@ -33,10 +33,7 @@ class WorkerConfig(BaseSettings):
|
||||||
|
|
||||||
api_version: str = Field(default="0.1.7", description="API接口版本")
|
api_version: str = Field(default="0.1.7", description="API接口版本")
|
||||||
api_server_token: str = Field(default="bowong7777", description="固定的API调用Bearer Token")
|
api_server_token: str = Field(default="bowong7777", description="固定的API调用Bearer Token")
|
||||||
cf_kv_namespace_id: Optional[str] = Field(default=None, description="Cloudflare KV Namespace ID")
|
|
||||||
|
|
||||||
model_config = SettingsConfigDict(
|
modal_config: Any = SettingsConfigDict(json_schema_extra={
|
||||||
json_schema_extra={
|
"description": "可通过本地环境变量加载对应Field, 不区分大小写, Modal创建App的Image时可通过dotenv加载指定.env文件写入到Docker Image的系统变量",
|
||||||
"description": "可通过本地环境变量加载对应Field, 不区分大小写, Modal创建App的Image时可通过dotenv加载指定.env文件写入到Docker Image的系统变量",
|
})
|
||||||
}
|
|
||||||
)
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue