1
0
mirror of https://github.com/GNS3/gns3-server synced 2024-11-28 11:18:11 +00:00

Do not allow to create a builtin template using the API.

This commit is contained in:
grossmj 2024-05-17 00:05:25 +07:00
parent 3ab74b8094
commit 990dabb7e4
No known key found for this signature in database
GPG Key ID: 0A2D76AC45EA25CD

View File

@ -45,7 +45,6 @@ class TemplateBase(BaseModel):
category: Optional[Category] = None category: Optional[Category] = None
default_name_format: Optional[str] = None default_name_format: Optional[str] = None
symbol: Optional[str] = None symbol: Optional[str] = None
builtin: Optional[bool] = None
template_type: Optional[NodeType] = None template_type: Optional[NodeType] = None
compute_id: Optional[str] = None compute_id: Optional[str] = None
usage: Optional[str] = "" usage: Optional[str] = ""