chore: update .gitignore and enhance docstrings across multiple files

- Added *.pyc and *.pyo to .gitignore to prevent compiled Python files from being tracked.
- Improved docstrings in various modules, providing clearer descriptions of functions, parameters, and return values to enhance code readability and maintainability.
This commit is contained in:
zhangtao
2026-04-04 01:21:59 +08:00
parent dcf8844453
commit b0ae6af3b1
96 changed files with 5089 additions and 304 deletions
@@ -33,6 +33,12 @@ async def get_node_options_controller(
) -> JSONResponse:
"""
获取数据库中的定时任务节点定义(task_node),与编排节点类型无关。
参数:
- auth (AuthSchema): 认证信息。
返回:
- JSONResponse: 成功响应,data 为选项列表。
"""
result = await NodeService.get_node_options_service(auth=auth)
log.info("获取定时任务节点选项成功")