Skip to content

Step

🛈 DocStrings

Source code in src/datacook/engine/parser.py
@dataclass(frozen=True, slots=True)
class Step:
    record: OpRecord
    parents: tuple[int, ...]
    """Indexes into `ParsedScript.steps`; negative: `-1 - i` = the i-th pre-bound input."""
    output: str
    name: str | None
    lineno: int
    end_lineno: int

parents instance-attribute

parents: tuple[int, ...]

Indexes into ParsedScript.steps; negative: -1 - i = the i-th pre-bound input.

:fa-brands-github: Show source on GitHub