};e. dZeZdgZ ddlmZddlm Z m Z Gdde Z Gdde Z Gd de Z y #e$r ddlmZY7wxYw) z5Test client for the lazr.restful example web service.CookbookWebServiceClient)quote)CollectionWithKeyBasedLookup ServiceRootceZdZdZdZdZy) CookbookSetz>A custom subclass capable of cookbook lookup by cookbook name.ct|jjjdzt t|zS)z>Transform a cookbook name into the URL to a cookbook resource.z cookbooks/)str_root _root_uri ensureSlashrselfids B/usr/lib/python3/dist-packages/lazr/restfulclient/tests/example.py_get_url_from_idzCookbookSet._get_url_from_id's<  $$002 3 CGn  cookbookN__name__ __module__ __qualname____doc__r collection_ofrrrr$sH MrrceZdZdZdZdZy) RecipeSetz8A custom subclass capable of recipe lookup by recipe ID.czt|jjjdzt|zS)z8Transform a recipe ID into the URL to a recipe resource.zrecipes/)r r r r rs rrzRecipeSet._get_url_from_id5s.4::''3356Cc"gMMrrecipeNrrrrrr2sBNMrrcfeZdZeej Zeed<eed<dZdZ ee dffd Z xZ S)rrecipes cookbookszhttp://cookbooks.dev/z1.0Nc4tt| d|||y)N)cacheversion)superr__init__)r service_rootr%r$ __class__s rr'z!CookbookWebServiceClient.__init__Es# &6 ,eW 7 r) rrrdictrRESOURCE_TYPE_CLASSESrrDEFAULT_SERVICE_ROOTDEFAULT_VERSIONr' __classcell__)r)s@rrr<sJ !B!BC'0)$)4+&2O*   rN)rtype __metaclass____all__ urllib.parser ImportErrorurlliblazr.restfulclient.resourcerrrrrrrrr6sa 8   " . , { Cs9 AA