mirror of
https://github.com/GNS3/gns3-server.git
synced 2025-01-02 02:56:42 +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