Skip to content

Commit 0022371

Browse files
authored
Change constant names to UPPER_CASE
1 parent d537285 commit 0022371

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

src/a2a/types.py

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -744,15 +744,15 @@ class TaskState(str, Enum):
744744
Represents the possible states of a Task.
745745
"""
746746

747-
submitted = 'submitted'
748-
working = 'working'
749-
input_required = 'input-required'
750-
completed = 'completed'
751-
canceled = 'canceled'
752-
failed = 'failed'
753-
rejected = 'rejected'
754-
auth_required = 'auth-required'
755-
unknown = 'unknown'
747+
SUBMITTED = 'submitted'
748+
WORKING = 'working'
749+
INPUT_REQUIRED = 'input-required'
750+
COMPLETED = 'completed'
751+
CANCELED = 'canceled'
752+
FAILED = 'failed'
753+
REJECTED = 'rejected'
754+
AUTH_REQUIRED = 'auth-required'
755+
UNKNOWN = 'unknown'
756756

757757

758758
class TextPart(BaseModel):

0 commit comments

Comments
 (0)