File: //lib/python3/dist-packages/lazr/restfulclient/tests/__pycache__/example.cpython-38.pyc
U
���T� � @ s� d Z eZdgZzddlmZ W n ek
r> ddlmZ Y nX 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 @ s 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_idZcookbookN��__name__�
__module__�__qualname__�__doc__r Z
collection_ofr r r r r "