From 01da25a7c7bb88a62410916944475d0ac0c4261a Mon Sep 17 00:00:00 2001 From: grossmj Date: Mon, 18 Oct 2021 21:53:29 +1030 Subject: [PATCH] Fix appliance validation with Pydantic --- gns3server/schemas/controller/appliances.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gns3server/schemas/controller/appliances.py b/gns3server/schemas/controller/appliances.py index 604af3f7..ceb96459 100644 --- a/gns3server/schemas/controller/appliances.py +++ b/gns3server/schemas/controller/appliances.py @@ -14,10 +14,13 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see . +# Generated from JSON schema using https://github.com/koxudaxi/datamodel-code-generator + +from __future__ import annotations + from enum import Enum from typing import List, Optional, Union from uuid import UUID - from pydantic import AnyUrl, BaseModel, EmailStr, Field, confloat, conint, constr