1
0
mirror of https://github.com/GNS3/gns3-server synced 2024-12-01 04:38:12 +00:00

Allow empty compute_id. Ref #1657

This commit is contained in:
grossmj 2021-11-24 17:25:55 +10:30
parent 8995ed37a4
commit 25466a9958

View File

@ -58,7 +58,6 @@ class TemplateCreate(TemplateBase):
name: str name: str
template_type: NodeType template_type: NodeType
compute_id: str
class Config: class Config:
extra = "allow" extra = "allow"
@ -78,7 +77,6 @@ class Template(DateTimeModelMixin, TemplateBase):
symbol: str symbol: str
builtin: bool builtin: bool
template_type: NodeType template_type: NodeType
compute_id: Union[str, None]
class Config: class Config:
extra = "allow" extra = "allow"