mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-11-03 05:51:15 +02:00
refactor: ruff autofixes
This commit is contained in:
455 files changed
+12322
-14762
No files matched your search
@@ -28,6 +28,7 @@ class SnapshotBase(BaseModel):
|
||||
name: str = Field(..., description="Name of the snapshot")
|
||||
description: Optional[str] = Field(None, description="Description of the snapshot")
|
||||
|
||||
|
||||
class SnapshotCreate(SnapshotBase):
|
||||
"""
|
||||
Properties for snapshot creation.
|
||||
@@ -37,7 +38,6 @@ class SnapshotCreate(SnapshotBase):
|
||||
|
||||
|
||||
class Snapshot(SnapshotBase):
|
||||
|
||||
snapshot_id: UUID
|
||||
project_id: UUID
|
||||
name: str = Field(..., description="Name of the snapshot")
|
||||
|
||||
Reference in new issue
Block a user