set_status
Method
This is a method of the Task class in the task module.Set task status with transition validation. Validates the transition is legal. If not, logs a warning but still applies the change for backward compatibility.
Signature
Parameters
str
required
Target status (string or TaskStatus enum)
Uses
_lifecycle_manager.can_transitionlogger.warningTaskStatus
Source
View on GitHub
praisonaiagents/task/task.py at line 491
