mirror of
https://github.com/nonebot/nonebot2.git
synced 2025-07-17 03:20:54 +00:00
删除说明前缀
This commit is contained in:
@ -48,57 +48,39 @@ class Config(BaseSettings):
|
||||
|
||||
fastapi_openapi_url: Optional[str] = None
|
||||
"""
|
||||
:说明:
|
||||
|
||||
``openapi.json`` 地址,默认为 ``None`` 即关闭
|
||||
``openapi.json`` 地址,默认为 ``None`` 即关闭
|
||||
"""
|
||||
fastapi_docs_url: Optional[str] = None
|
||||
"""
|
||||
:说明:
|
||||
|
||||
``swagger`` 地址,默认为 ``None`` 即关闭
|
||||
``swagger`` 地址,默认为 ``None`` 即关闭
|
||||
"""
|
||||
fastapi_redoc_url: Optional[str] = None
|
||||
"""
|
||||
:说明:
|
||||
|
||||
``redoc`` 地址,默认为 ``None`` 即关闭
|
||||
``redoc`` 地址,默认为 ``None`` 即关闭
|
||||
"""
|
||||
fastapi_include_adapter_schema: bool = True
|
||||
"""
|
||||
:说明:
|
||||
|
||||
是否包含适配器路由的 schema,默认为 ``True``
|
||||
是否包含适配器路由的 schema,默认为 ``True``
|
||||
"""
|
||||
fastapi_reload: bool = False
|
||||
"""
|
||||
:说明:
|
||||
|
||||
开启/关闭冷重载
|
||||
开启/关闭冷重载
|
||||
"""
|
||||
fastapi_reload_dirs: Optional[List[str]] = None
|
||||
"""
|
||||
:说明:
|
||||
|
||||
重载监控文件夹列表,默认为 uvicorn 默认值
|
||||
重载监控文件夹列表,默认为 uvicorn 默认值
|
||||
"""
|
||||
fastapi_reload_delay: Optional[float] = None
|
||||
"""
|
||||
:说明:
|
||||
|
||||
重载延迟,默认为 uvicorn 默认值
|
||||
重载延迟,默认为 uvicorn 默认值
|
||||
"""
|
||||
fastapi_reload_includes: Optional[List[str]] = None
|
||||
"""
|
||||
:说明:
|
||||
|
||||
要监听的文件列表,支持 glob pattern,默认为 uvicorn 默认值
|
||||
要监听的文件列表,支持 glob pattern,默认为 uvicorn 默认值
|
||||
"""
|
||||
fastapi_reload_excludes: Optional[List[str]] = None
|
||||
"""
|
||||
:说明:
|
||||
|
||||
不要监听的文件列表,支持 glob pattern,默认为 uvicorn 默认值
|
||||
不要监听的文件列表,支持 glob pattern,默认为 uvicorn 默认值
|
||||
"""
|
||||
|
||||
class Config:
|
||||
|
Reference in New Issue
Block a user