mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2026-06-26 09:49:26 +08:00
Review feedback on the jobs cursor pagination: - get_all_jobs now returns JobsPage, a NamedTuple, instead of a bare 4-tuple (callers unpack positionally either way). - Early-out when the filtered job set is empty so paging code never has to reason about indexing into an empty list. A malformed 'after' cursor is still decoded first and rejected with INVALID_CURSOR. - Document that job ids are server-assigned UUIDs, always present and unique — the empty-string fallback in _job_id_key only shields sorted() from a malformed dict, it is not part of the keyset contract. |
||
|---|---|---|
| .. | ||
| cache_provider.py | ||
| caching.py | ||
| graph_utils.py | ||
| graph.py | ||
| jobs.py | ||
| progress.py | ||
| utils.py | ||
| validation.py | ||