This commit is contained in:
2026-01-23 15:00:14 -06:00
parent 13793f2d70
commit b04a997561
22 changed files with 424 additions and 596 deletions

View File

@@ -2,9 +2,9 @@ from __future__ import annotations
from collections.abc import Iterator
from pathlib import Path
from typing import TYPE_CHECKING, final
from typing import TYPE_CHECKING, Final, final
from pydantic.dataclasses import dataclass
from autoslot import Slots
from docker_compose import ROOT
@@ -13,13 +13,11 @@ if TYPE_CHECKING:
@final
@dataclass(frozen=True, slots=True)
class BindVols:
# data_rep = Replace("data", str(DATA_ROOT))
render: Render
class BindVols(Slots):
def __init__(self, render:Render) -> None:
self.render:Final = render
def __call__(self):
# def mk_bind_vols(self) -> None:
for path in self:
path.mkdir(parents=True, exist_ok=True)