/usr/lib/python3/dist-packages/lazr/restfulclient/tests/__pycache__
Edit: /usr/lib/python3/dist-packages/lazr/restfulclient/tests/__pycache__/example.cpython-310.pyc (2030B)
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)CollectionWithKeyBasedLookupServiceRootc @ 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_uriensureSlashr selfid r B/usr/lib/python3/dist-packages/lazr/restfulclient/tests/example.py_get_url_from_id% s
zCookbookSet._get_url_from_idcookbookN__name__
__module____qualname____doc__r
collection_ofr r r r r " s r c @ r ) RecipeSetz8A custom subclass capable of recipe lookup by recipe ID.c C s t | jj d t | S )z8Transform a recipe ID into the URL to a recipe resource.zrecipes/)r r r
r r r r r r 0 s zRecipeSet._get_url_from_idrecipeNr r r r r r - s r c sF e Zd ZeejZeed<