Skip to content

Commit 23c1e2a

Browse files
authored
Fixed tag structured in CommonAttributes (#1554)
* tag fixed CommonAttributes Signed-off-by: rakdutta <rakhibiswas@yahoo.com> * fix black Signed-off-by: rakdutta <rakhibiswas@yahoo.com> --------- Signed-off-by: rakdutta <rakhibiswas@yahoo.com>
1 parent ce54c25 commit 23c1e2a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

mcpgateway/common/models.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -562,7 +562,7 @@ class CommonAttributes(BaseModel):
562562
update_at (Optional[datetime]): The time at which the tool was updated.
563563
enabled (Optional[bool]): If the tool is enabled.
564564
reachable (Optional[bool]): If the tool is currently reachable.
565-
tags (Optional[list[str]]): A list of meta data tags describing the tool.
565+
tags (Optional[list[Dict[str,str]]]): A list of meta data tags describing the tool.
566566
created_by (Optional[str]): The person that created the tool.
567567
created_from_ip (Optional[str]): The client IP that created the tool.
568568
created_via (Optional[str]): How the tool was created (e.g., ui).
@@ -587,7 +587,7 @@ class CommonAttributes(BaseModel):
587587
enabled: Optional[bool] = None
588588
reachable: Optional[bool] = None
589589
auth_type: Optional[str] = None
590-
tags: Optional[list[str]] = None
590+
tags: Optional[list[Dict[str, str]]] = None
591591
# Comprehensive metadata for audit tracking
592592
created_by: Optional[str] = None
593593
created_from_ip: Optional[str] = None

0 commit comments

Comments
 (0)