def get_heads(self):
        heads = []
        for script in self._revision_map.values():
            if script and script.is_head:
                heads.append(script.revision)
        return heads
Returns list of the declared permissions.
dataset/ETHPy150Open goFrendiAsgard/kokoropy/kokoropy/packages/alembic/script.py/ScriptDirectory.get_heads--crossover with--dataset/ETHPy150Open androguard/androguard/androguard/core/bytecodes/apk.py/APK.get_declared_permissions