This commit is contained in:
2025-08-15 08:08:11 +02:00
parent 9601c5e44d
commit 7b652d6999
17 changed files with 28 additions and 60 deletions
+3
View File
@@ -21,3 +21,6 @@ class ProjectPaths(BaseModel):
@field_validator("*", mode="before")
def convert_to_path(cls, v):
return Path(v) if not isinstance(v, Path) else v
def get_data_path(self, filename: str) -> Path:
return self.data_dir / filename