def __get__(self, oself, type=None):
        """
        Outputs are private, so raise an exception when we attempt to get one.
        """
        raise AttributeError(
            "{cls}.{method} is a state-machine output method; "
            "to produce this output, call an input method instead.".format(
                cls=type.__name__,
                method=self.method.__name__
            )
        )

        Outputs are private, so raise an exception when we attempt to get one.
        
stackoverflow/venv/lib/python3.6/site-packages/automat/_methodical.py