mirror of
https://github.com/GNS3/gns3-server
synced 2024-11-28 11:18:11 +00:00
Allow empty compute_id. Ref #1657
This commit is contained in:
parent
8995ed37a4
commit
25466a9958
@ -58,7 +58,6 @@ class TemplateCreate(TemplateBase):
|
||||
|
||||
name: str
|
||||
template_type: NodeType
|
||||
compute_id: str
|
||||
|
||||
class Config:
|
||||
extra = "allow"
|
||||
@ -78,7 +77,6 @@ class Template(DateTimeModelMixin, TemplateBase):
|
||||
symbol: str
|
||||
builtin: bool
|
||||
template_type: NodeType
|
||||
compute_id: Union[str, None]
|
||||
|
||||
class Config:
|
||||
extra = "allow"
|
||||
|
Loading…
Reference in New Issue
Block a user