INNER CODE UNIT · Python

Template

theyosh/TerrariumPI · contrib/pipes/__init__.py:91

class Template:
    """Class representing a pipeline template."""

    def __init__(self):
        """Template() returns a fresh pipeline template."""
        self.debugging = 0
        self.reset()

    def __repr__(self):
        """t.__repr__() implements repr(t)."""
        return "<Template instance, steps=%r>" % (self.steps,)

    def reset(self):
        """t.reset() restores a pipeline template to its initial state."""
        self.steps = []

    def clone(self):
        """t.clone() returns a new pipeline template with identical

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…