mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-11-06 07:11:13 +02:00
Detect image type instead of requesting it from user
This commit is contained in:
1 parent
2a5a4b5f77
commit
9b39bfb845
5 files changed
+50
-47
No files matched your search
@@ -32,7 +32,8 @@ class ImageBase(BaseModel):
|
||||
Common image properties.
|
||||
"""
|
||||
|
||||
filename: str = Field(..., description="Image name")
|
||||
filename: str = Field(..., description="Image filename")
|
||||
path: str = Field(..., description="Image path")
|
||||
image_type: ImageType = Field(..., description="Image type")
|
||||
image_size: int = Field(..., description="Image size in bytes")
|
||||
checksum: str = Field(..., description="Checksum value")
|
||||
|
||||
Reference in new issue
Block a user