You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
docs: add full docstrings and fix sync task SSE notifications
Added Args/Returns docstrings to all public classes, methods, and
functions. Fixed TaskStore._notify_change to use call_soon_threadsafe
so task_log() entries from sync tasks trigger live dashboard updates.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: docs/api/task-log.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,7 +10,7 @@ from fastapi_taskflow import task_log
10
10
deftask_log(message: str) -> None
11
11
```
12
12
13
-
Emits a timestamped log entry from within a running task. The entry is appended to the task's `logs` list and becomes immediately visible in the live dashboard under the **Logs** tab.
13
+
Emits a timestamped log entry from within a running task. The entry is appended to the task's `logs` list and becomes immediately visible in the live dashboard under the **Logs** tab. Works in both sync and async task functions.
0 commit comments