def load_stylesheet(self, id, path):
        """
        Proper way to dynamically inject a stylesheet in a page.

        :param path: Path of the stylesheet to inject.
        """
        self.add_child(HeadLink(id=id, link_type="stylesheet", path=path))
def load_stylesheet ( self , id , path ) : self . add_child ( HeadLink ( id = id , link_type = "stylesheet" , path = path ) )
Proper way to dynamically inject a stylesheet in a page.

        :param path: Path of the stylesheet to inject.