webthing/thing.py
def set_href_prefix(self, prefix):
        """
        Set the prefix of any hrefs associated with this thing.

        prefix -- the prefix
        """
        self.href_prefix = prefix

        for property_ in self.properties.values():
            property_.set_href_prefix(prefix)

        for action_name in self.actions.keys():
            for action in self.actions[action_name]:
                action.set_href_prefix(prefix)
def set_href_prefix(self, prefix):
        self.href_prefix = prefix

        for property_ in self.properties.values():
            property_.set_href_prefix(prefix)

        for action_name in self.actions.keys():
            for action in self.actions[action_name]:
                action.set_href_prefix(prefix)
def set_href_prefix ( self , prefix ) : self . href_prefix = prefix for property_ in self . properties . values ( ) : property_ . set_href_prefix ( prefix ) for action_name in self . actions . keys ( ) : for action in self . actions [ action_name ] : action . set_href_prefix ( prefix )
Set the prefix of any hrefs associated with this thing.

        prefix -- the prefix
Set the prefix of any hrefs associated with this thing .