Refactor(clan_lib): move nix bound classes out of the cli folder
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
from clan_cli.inventory.classes import Inventory, Machine, Meta, Service
|
||||
from clan_lib.nix_models.inventory import Inventory, Machine, Meta, Service
|
||||
|
||||
|
||||
def test_make_meta_minimal() -> None:
|
||||
|
||||
@@ -5,15 +5,17 @@ from typing import TYPE_CHECKING
|
||||
import pytest
|
||||
from clan_cli.flake import Flake
|
||||
from clan_cli.inventory import (
|
||||
Inventory,
|
||||
Machine,
|
||||
MachineDeploy,
|
||||
set_inventory,
|
||||
)
|
||||
from clan_cli.machines.create import CreateOptions, create_machine
|
||||
from clan_cli.nix import nix_eval, run
|
||||
from clan_cli.tests.fixtures_flakes import FlakeForTest
|
||||
from clan_lib.api.modules import list_modules
|
||||
from clan_lib.nix_models.inventory import (
|
||||
Inventory,
|
||||
Machine,
|
||||
MachineDeploy,
|
||||
)
|
||||
|
||||
if TYPE_CHECKING:
|
||||
from .age_keys import KeyPair
|
||||
|
||||
Reference in New Issue
Block a user