Team Ai
Datasetpublic

codekingpro/portable-devtools

sourceHugging Faceupdated 5mo agoView on Hugging Face
1likes14kdownloads
compat.cpython-313.pyc32 linesDownload Raw Back to __pycache__
1�

2��j���SSKrSSKJr SSKJrJrJr SSKJr SSK	J3r4 \\5lS\"\R5R5;r\"\SS5rS	rS6rSSKJr \R.S:�aSSKJr OSSKrS\S\S\\R64SjrS\R6S\\4SjrS\SS4Sjrg!\a
 "SS
5rNef=f)�N)�7SSLContext)�Any�Optional�Iterable)�HTTPieCookiePolicy)�	cookiejar�win32�frozenF)��)r�)�cached_propertyc�F�\rSrSrSrSr\S5rS	SjrSr	S	Sjr8Srg)9r�a?10Decorator that converts a method with a single self argument into a11property cached on the instance.12 13A cached property can be made out of an existing method:14(e.g. ``url = cached_property(get_absolute_url)``).15The optional ``name`` argument is obsolete as of Python 3.6 and will be16deprecated in Django 4.0 (#30127).17Nc��[S5e)NzICannot use cached_property instance without calling __set_name__() on it.)�	TypeError)�instances �SD:\code\apps\devtools\python\user_packages\Python313\site-packages\httpie/compat.py�func�cached_property.func%s���(��
�c�2�Xl[US5Ulg)N�__doc__)�	real_func�getattrr)�selfr�names   r�__init__�cached_property.__init__,s��!�N�"�4��3�D�Lrc��URcX lURUlgX R:wa[SUR<SU<S35eg)Nz?Cannot assign the same cached_property to two different names (z and z).)rrrr)r�ownerrs   r�__set_name__�cached_property.__set_name__0sF���y�y� � �	� �N�N��	����"��&*�i�i��7���#rc�b�UcU$URU5=o1RUR'U$)z�18Call the function and put the return value in instance.__dict__ so that19subsequent attribute access on the instance returns the cached value20instead of calling cached_property.__get__().21)r�__dict__r)rr�cls�ress    r�__get__�cached_property.__get__:s4������15���8�1D�D�C�#�#�D�I�I�.��Jr)rrrr)N)�__name__�22__module__�__qualname__�__firstlineno__rr�staticmethodrrr"r(�__static_attributes__�rrrrs/��	���	�	�23�	�	4�	�		rr)r��entry_points�group�returnc�x�[US5(aURUS9$[URUS55$)N�select)r3r0)�hasattrr6�set�get)r2r3s  r�find_entry_pointsr:Os;���|�X�&�&��"�"��"�/�/��<�#�#�E�2�.�/�/r�entry_pointc��[USS5nUbUR$URRUR5nU(aURS5(dgURS5R
S5Sn[R"U5nURS5$![Ra gf=f)N�dist�module�.rr)rr�pattern�match�valuer3�split�importlib_metadata�metadatar9�PackageNotFoundError)r;r=rA�packagerEs     r�
get_dist_namerHVs����;���-�D����y�y�����%�%�k�&7�&7�8�E��e�k�k�(�+�+���k�k�(�#�)�)�#�.�q�1�G�$�%�.�.�w�7���|�|�F�#�#���2�2����s�B+�+C�C�ssl_contextc�t�[US5(a'UR5(dUR5 ggg)z[24Workaround for a bug in Requests 2.32.325 26See <https://github.com/httpie/cli/issues/1583>27 28�load_default_certsN)r7�get_ca_certsrK)rIs r�ensure_default_certs_loadedrMhs7���{�0�1�1��'�'�)�)��*�*�,�*�2r)�sys�sslr�typingrrr�httpie.cookiesr�httpr�DefaultCookiePolicy�str�platform�lower�29is_windowsr�	is_frozen�MIN_SUPPORTED_PY_VERSION�MAX_SUPPORTED_PY_VERSION�	functoolsr�ImportError�version_info�importlib.metadatarErD�30EntryPointr:rHrMr0rr�<module>r`s���31��*�*�-��!3�	��
��C�L�L�)�/�/�1�
1�32��C��5�)�	�!��"��/�)�h���v��3��0�C�0��0��AS�A^�A^�8_�0�$�1�<�<�$��#��$�$	-�Z�	-�D�	-��e�-�*�*�-�s�B3�3C�C
codekingpro/portable-devtools · Team Ai