mirror of
https://github.com/GNS3/gns3-server
synced 2024-12-27 01:08:33 +00:00
Fix appliance validation with Pydantic
This commit is contained in:
parent
13ff7df9fa
commit
01da25a7c7
@ -14,10 +14,13 @@
|
|||||||
# You should have received a copy of the GNU General Public License
|
# You should have received a copy of the GNU General Public License
|
||||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
|
# Generated from JSON schema using https://github.com/koxudaxi/datamodel-code-generator
|
||||||
|
|
||||||
|
from __future__ import annotations
|
||||||
|
|
||||||
from enum import Enum
|
from enum import Enum
|
||||||
from typing import List, Optional, Union
|
from typing import List, Optional, Union
|
||||||
from uuid import UUID
|
from uuid import UUID
|
||||||
|
|
||||||
from pydantic import AnyUrl, BaseModel, EmailStr, Field, confloat, conint, constr
|
from pydantic import AnyUrl, BaseModel, EmailStr, Field, confloat, conint, constr
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user