When running FastAPI Taskflow on Python 3.14, task execution fails with an AttributeError originating from _DaemonThreadPoolExecutor._adjust_thread_count().
The implementation accesses the private attributes _initializer and _initargs, but these attributes are not present on the executor instance in Python 3.14.
Error
AttributeError: '_DaemonThreadPoolExecutor' object has no attribute '_initializer'
Traceback:
File "/app/.venv/lib/python3.14/site-packages/fastapi_taskflow/manager.py", line 244, in _adjust_thread_count
self._initializer,
AttributeError: '_DaemonThreadPoolExecutor' object has no attribute '_initializer'
Environment
- Python: 3.14.6
- FastAPI Taskflow: 0.10.0
When running FastAPI Taskflow on Python 3.14, task execution fails with an
AttributeErrororiginating from_DaemonThreadPoolExecutor._adjust_thread_count().The implementation accesses the private attributes
_initializerand_initargs, but these attributes are not present on the executor instance in Python 3.14.Error
Traceback:
Environment