def get_hosts_as_dict(self):
        return { k: { h.__class__ for h in l } for k, l in self._hosts.items() }
Converts a list of rawrules and a enabled map into nested dictionaries
dataset/ETHPy150Open jonathanslenders/python-deployer/deployer/host_container.py/HostsContainer.get_hosts_as_dict--crossover with--dataset/ETHPy150Open matrix-org/synapse/synapse/push/clientformat.py/format_push_rules_for_user