webthing/thing.py
def get_properties(self):
        """
        Get a mapping of all properties and their values.

        Returns a dictionary of property_name -> value.
        """
        return {prop.get_name(): prop.get_value()
                for prop in self.properties.values()}
def get_properties(self):
        return {prop.get_name(): prop.get_value()
                for prop in self.properties.values()}
def get_properties ( self ) : return { prop . get_name ( ) : prop . get_value ( ) for prop in self . properties . values ( ) }
Get a mapping of all properties and their values.

        Returns a dictionary of property_name -> value.
Get a mapping of all properties and their values .