%PDF- %PDF-
Direktori : /lib/python3/dist-packages/landscape/lib/__pycache__/ |
Current File : //lib/python3/dist-packages/landscape/lib/__pycache__/schema.cpython-312.pyc |
� �~�el � � � d Z ddlmZ ddlmZ ddlmZ G d� de� Z G d� d� Z G d � d � Z G d� d� Z G d � d� Z G d� d� Z G d� d� Z G d� d� Z G d� d� Z G d� d� Z G d� d� Z G d� d� Zy)z"A schema system. Yes. Another one!� )� iteritems)�long)�unicodec � � e Zd ZdZy)�InvalidErrorz&Raised when invalid input is received.N)�__name__� __module__�__qualname__�__doc__� � �6/usr/lib/python3/dist-packages/landscape/lib/schema.pyr r s � �0�r r c � � e Zd ZdZd� Zd� Zy)�Constantz1Something that must be equal to a constant value.c � � || _ y �N)�value��selfr s r �__init__zConstant.__init__ s � ��� r c �� � t | j t � r!t |t � r |j � }|| j k7 rt |�d| j ��� �|S # t $ r Y �6w xY w)Nz != )� isinstancer �str�bytes�decode�UnicodeDecodeErrorr r s r �coercezConstant.coerce sj � ��d�j�j�#�&�:�e�U�+C� ������ �D�J�J���%��$�t�z�z�n�=�>�>���� &� �� �s �A'