D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
lib
/
python3.9
/
site-packages
/
ipalib
/
__pycache__
/
Filename :
capabilities.cpython-39.pyc
back
Copy
a }�f� � @ s6 d Z ddlmZ dZedddddd d d�Zdd � ZdS )z�List of, and utilities for working with, client capabilities by API version The API version is given in ipapython.version.API_VERSION. This module defines a dict, ``capabilities``, that maps feature names to API versions they were introduced in. � )� APIVersionz2.51z2.52z2.54z2.69z2.83z2.84z2.88z2.246)�messagesZoptional_uid_paramsZpermissions2Zprimary_key_typesZdatetime_valuesZdns_name_valuesZvault_aes_keywrapc C s t | �}|t t| �kS )z�Determine whether the client has the given capability :param capability: Name of the capability to test :param client_version: The API version string reported by the client )r �capabilities)Zclient_versionZ capability�version� r �7/usr/lib/python3.9/site-packages/ipalib/capabilities.py�client_has_capability@ s r N)�__doc__Zipapython.ipautilr ZVERSION_WITHOUT_CAPABILITIES�dictr r r r r r �<module> s �