def __enter__()

in status_led_pkg/status_led_pkg/led_control.py [0:0]


    def __enter__(self):
        """Called when the LEDControl object is created using the 'with' statement.

        Returns:
           LEDControl : self object returned.
        """
        # Enable all the channels.
        self.enable()
        return self