Пример #1
0
def _get_perm_key(value):
    for k, v in PERM_CLASS.items():
        if value == v:
            return k
    return None