Server : Apache System : Linux iad1-shared-b8-43 6.6.49-grsec-jammy+ #10 SMP Thu Sep 12 23:23:08 UTC 2024 x86_64 User : dh_edsupp ( 6597262) PHP Version : 8.2.26 Disable Function : NONE Directory : /lib/python3/dist-packages/lazr/restfulclient/tests/__pycache__/ |
Upload File : |
o ���T� � @ s� d Z eZdgZzddlmZ W n ey ddlmZ Y nw ddlm Z m Z G dd� de �ZG dd� de �ZG d d� de �Z d S )z5Test client for the lazr.restful example web service.�CookbookWebServiceClient� )�quote)�CollectionWithKeyBasedLookup�ServiceRootc @ � e Zd ZdZdd� ZdZdS )�CookbookSetz>A custom subclass capable of cookbook lookup by cookbook name.c C s t | jj�� �d tt |�� S )z>Transform a cookbook name into the URL to a cookbook resource.z cookbooks/)�str�_root� _root_uri�ensureSlashr ��self�id� r �B/usr/lib/python3/dist-packages/lazr/restfulclient/tests/example.py�_get_url_from_id% s � �zCookbookSet._get_url_from_id�cookbookN��__name__� __module__�__qualname__�__doc__r � collection_ofr r r r r "