def get_defaults(self, context, resources):
        quotas = {}
        for resource in resources.values():
            quotas[resource.name] = -1
        return quotas
Update the highlighter lexer based on a mime type.
dataset/ETHPy150Open openstack/nova/nova/quota.py/NoopQuotaDriver.get_defaults--crossover with--dataset/ETHPy150Open OpenCobolIDE/OpenCobolIDE/open_cobol_ide/extlibs/pyqode/core/modes/pygments_sh.py/PygmentsSH.set_mime_type