Skip to content

Commit 56bad76

Browse files
committed
fix(models): correct variable name in TaskModel repr template
1 parent b475d23 commit 56bad76

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/a2a/server/models.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -163,9 +163,9 @@ class TaskModel(TaskMixin, base):
163163
@override
164164
def __repr__(self) -> str:
165165
"""Return a string representation of the task."""
166-
repr_template = '<TaskModel[{TBL}](id="{ID}", contextId="{CTX_ID}", status="{STATUS}")>'
166+
repr_template = '<TaskModel[{TABLE}](id="{ID}", contextId="{CTX_ID}", status="{STATUS}")>'
167167
return repr_template.format(
168-
TBL=table_name,
168+
TABLE=table_name,
169169
ID=self.id,
170170
CTX_ID=self.contextId,
171171
STATUS=self.status,

0 commit comments

Comments
 (0)