style: sort imports in schemas

This commit is contained in:
Mark Paronyan committed 2026-10-02 12:43:26 +03:00
1 parent 634189d443
commit 3b993b464f
51 files changed
+271 -219

No files matched your search

@@ -14,10 +14,11 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
from pydantic import BaseModel
from typing import Optional
from uuid import UUID
from pydantic import BaseModel
from ..common import NodeStatus
+3 -2
View File
@@ -14,11 +14,12 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
from pydantic import BaseModel, Field
from typing import Optional, Union, List
from enum import Enum
from typing import List, Optional, Union
from uuid import UUID
from pydantic import BaseModel, Field
from ..common import NodeStatus
+4 -3
View File
@@ -14,11 +14,12 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
from pydantic import BaseModel, Field, field_validator
from typing import Optional, List
from typing import List, Optional
from uuid import UUID
from ..common import NodeStatus, CustomAdapter, ConsoleType, AuxType, ExtraConfig
from pydantic import BaseModel, Field, field_validator
from ..common import AuxType, ConsoleType, CustomAdapter, ExtraConfig, NodeStatus
class DockerBase(BaseModel):
+3 -2
View File
@@ -15,11 +15,12 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
from pydantic import BaseModel, Field
from typing import Optional, List
from enum import Enum
from typing import List, Optional
from uuid import UUID
from pydantic import BaseModel, Field
from ..common import NodeStatus
@@ -14,10 +14,11 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
from pydantic import BaseModel
from typing import Optional, List
from typing import List, Optional
from uuid import UUID
from pydantic import BaseModel
from ..common import NodeStatus
@@ -14,10 +14,11 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
from pydantic import BaseModel, Field, model_validator
from typing import Optional, List
from uuid import UUID
from enum import Enum
from typing import List, Optional
from uuid import UUID
from pydantic import BaseModel, Field, model_validator
from ..common import NodeStatus
@@ -14,10 +14,11 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
from pydantic import BaseModel
from typing import Optional
from uuid import UUID
from pydantic import BaseModel
from ..common import NodeStatus
+3 -2
View File
@@ -14,11 +14,12 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
from pydantic import BaseModel, Field
from typing import Optional
from uuid import UUID
from ..common import NodeStatus, ConsoleType
from pydantic import BaseModel, Field
from ..common import ConsoleType, NodeStatus
class IOUBase(BaseModel):
+3 -2
View File
@@ -14,11 +14,12 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
from pydantic import BaseModel, Field
from typing import Optional, Union, List
from enum import Enum
from typing import List, Optional, Union
from uuid import UUID
from pydantic import BaseModel, Field
from ..common import NodeStatus
+3 -2
View File
@@ -15,9 +15,10 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
from pydantic import BaseModel, Field
from typing import Optional, List
from enum import Enum
from typing import List, Optional
from pydantic import BaseModel, Field
class UDPNIOType(str, Enum):
+4 -3
View File
@@ -14,12 +14,13 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
from pydantic import BaseModel, Field
from typing import Optional, List
from enum import Enum
from typing import List, Optional
from uuid import UUID
from ..common import NodeStatus, CustomAdapter
from pydantic import BaseModel, Field
from ..common import CustomAdapter, NodeStatus
class QemuPlatform(str, Enum):
@@ -14,12 +14,13 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
from pydantic import BaseModel, Field
from typing import Optional, List
from enum import Enum
from typing import List, Optional
from uuid import UUID
from ..common import NodeStatus, CustomAdapter
from pydantic import BaseModel, Field
from ..common import CustomAdapter, NodeStatus
class VirtualBoxConsoleType(str, Enum):
+4 -3
View File
@@ -14,12 +14,13 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
from pydantic import BaseModel, Field
from typing import Optional, List
from enum import Enum
from typing import List, Optional
from uuid import UUID
from ..common import NodeStatus, CustomAdapter
from pydantic import BaseModel, Field
from ..common import CustomAdapter, NodeStatus
class VMwareConsoleType(str, Enum):
+3 -2
View File
@@ -14,11 +14,12 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
from pydantic import BaseModel, Field
from typing import Optional
from enum import Enum
from typing import Optional
from uuid import UUID
from pydantic import BaseModel, Field
from ..common import NodeStatus