Skip to content

T07: 兼容 SQLAlchemy 线程池工具#1

Open
KevinCJM wants to merge 1 commit intopy36-supportfrom
codex/execute-a01-api-from-cib-folder
Open

T07: 兼容 SQLAlchemy 线程池工具#1
KevinCJM wants to merge 1 commit intopy36-supportfrom
codex/execute-a01-api-from-cib-folder

Conversation

@KevinCJM
Copy link
Owner

Summary

  • 调整连接/事务实现,移除 future 依赖以兼容 SQLAlchemy 1.2.12,并补充显式事务提交与回滚
  • 新增 _run_with_thread_pool 辅助及 threaded_read/insert/update_dataframe,实现线程池结合连接池的批量读写能力
  • 扩充模块文档说明线程池功能,保持 read/insert/update_dataframe 旧接口行为不变

Testing

  • python -m py_compile CIB_efficient_frontier/T07_db_utils.py

https://chatgpt.com/codex/tasks/task_e_68cdebc597d88328bc9f1daefe5eaa72

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant