<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def get_rows(self, request, context):
 """ Get all rows as HTML """

        from staff_toolbar.loading import load_toolbar_item
        rows = []
        for i, hook in enumerate(self.children):
            # Allow dotted paths in groups too, loads on demand (get import errors otherwise).
            if isinstance(hook, (basestring, tuple, list)):
                hook = load_toolbar_item(hook)
                self.children[i] = hook

            html = hook(request, context)
            if not html:
                continue

            rows.append(html)
        return rows