KOKINIO - MANAGER
Edit File: query.cpython-312.pyc
� ���iT � � � d dl mZmZ d dlZd dlZej rd dlmZ ddlm Z G d� de� Z G d� d e � Zy) � )�ABC�abstractmethodN)�DiGraph� )� SELinuxPolicyc �B � e Zd ZdZdd�Zedej fd�� Zy)�PolicyQueryz4Abstract base class for all SELinux policy analyses.�returnNc � � || _ t j | j � | _ t |j � d�� D ]9 }t | |d � }t |� rt d|� d�� �t | ||| � �; y )NT)�reversezKeyword parameter z conflicts with a callable.)�policy�logging� getLogger� __module__�log�sorted�keys�getattr�callable� ValueError�setattr)�selfr �kwargs�name�attrs �4/usr/lib64/python3.12/site-packages/setools/query.py�__init__zPolicyQuery.__init__ ss � �'-���!(�!2�!2�4�?�?�!C��� �6�;�;�=�$�7�D��4��t�,�D���~� �#5�d�V�;V�!W�X�X��D�$��t��-� 8� c � � y)z} Generator which returns the matches for the query. This method should be overridden by subclasses. N� �r s r �resultszPolicyQuery.results# � � r )r r r N) �__name__r �__qualname__�__doc__r r �typing�Iterabler"