관리-도구
편집 파일: query.cpython-39.pyc
a ����q�qe�����������������������@���sH���d�dl�mZmZ�d�dlmZ�d�dlmZ�ddlmZ�G�dd��de�Z dS�) �����)�ABC�abstractmethod)�Logger)�Iterable����)� SELinuxPolicyc�������������������@���sD���e�Zd�ZU�dZeed<�eed<�edd�dd�Zee d�d d ��Z dS�)�PolicyQueryz/Abstract base class for SELinux policy queries.�log�policyN)r ����returnc�����������������K���sR���||�_�t|���dd�D�]6}t|�|d��}t|�r<td�|���t|�|||���qd�S�)NT)�reversez0Keyword parameter {0} conflicts with a callable.)r ����sorted�keys�getattr�callable� ValueError�format�setattr)�selfr ����kwargs�name�attr��r����3/usr/lib64/python3.9/site-packages/setools/query.py�__init__���s����zPolicyQuery.__init__)r���c�����������������C���s���dS�)z} Generator which returns the matches for the query. This method should be overridden by subclasses. Nr���)r���r���r���r����results#���s����zPolicyQuery.results)�__name__� __module__�__qualname__�__doc__r����__annotations__r���r���r���r���r���r���r���r���r���r��� ���s��� r���N) �abcr���r���Zloggingr����typingr���Z policyrepr���r���r���r���r���r����<module>���s���