Skip to content

Conversation

@nsaje
Copy link
Contributor

@nsaje nsaje commented Dec 2, 2025

follow-up to #296

exposes current_task_is_batch so instead of

try:
    return [tiger.current_task]
except RuntimeError:
    return tiger.current_tasks

one can do

return tiger.current_tasks if tiger.current_task_is_batch else [tiger.current_task]

@nsaje nsaje force-pushed the current-task-is-batch branch from 443c097 to b772a4c Compare December 2, 2025 10:30
@nsaje nsaje requested a review from thomasst December 2, 2025 11:28
@nsaje nsaje merged commit d2bbd02 into master Dec 2, 2025
72 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants