Skip to content

LibraryEntry

🛈 DocStrings

Source code in src/datacook/engine/recipes.py
@dataclass(frozen=True, slots=True)
class LibraryEntry:
    path: pathlib.Path
    recipe: Recipe | None
    error: str | None = None

    @property
    def name(self) -> str:
        return self.recipe.name if self.recipe is not None else self.path.stem

:fa-brands-github: Show source on GitHub