We can have::

    for app_name, app in self.apps.items()

here, or am I missing something?