platypush/plugins/gpio/__init__.py
def read_all(self):
        """
        Reads the values from all the configured PINs and returns them as a list. It will raise a RuntimeError if no
        PIN mappings were configured.
        """

        if not self.pins_by_number:
            raise RuntimeError("No PIN mappings were provided/configured")

        values = []
        for (pin, name) in self.pins_by_number.items():
            # noinspection PyUnresolvedReferences
            values.append(self.read(pin=pin, name=name).output)

        return values

        Reads the values from all the configured PINs and returns them as a list. It will raise a RuntimeError if no
        PIN mappings were configured.
        
Reads the values from all the configured PINs and returns them as a list. It will raise a RuntimeError if no
PIN mappings were configured.
Reads the values from all the configured PINs and returns them as a list . It will raise a RuntimeError if no PIN mappings were configured .
def read_all(self):
        if not self.pins_by_number:
            raise RuntimeError("No PIN mappings were provided/configured")
        values = []
        for (pin, name) in self.pins_by_number.items():
            values.append(self.read(pin=pin, name=name).output)
        return values
def read_all ( self ) : if not self . pins_by_number : raise RuntimeError ( "No PIN mappings were provided/configured" ) values = [ ] for ( pin , name ) in self . pins_by_number . items ( ) : values . append ( self . read ( pin = pin , name = name ) . output ) return values
Reads the values from all the configured PINs and returns them as a list.
Reads the values from all the configured PINs and returns them as a list .
"""
        Reads the values from all the configured PINs and returns them as a list. It will raise a RuntimeError if no
        PIN mappings were configured.
        """ # noinspection PyUnresolvedReferences
self