Your IP : 172.28.240.42


Current Path : /usr/lib/python2.7/dist-packages/lazr/restfulclient/tests/
Upload File :
Current File : //usr/lib/python2.7/dist-packages/lazr/restfulclient/tests/example.pyc


BLc@sdZeZdgZddlmZddlmZmZdefdYZ	defdYZ
defd	YZd
S(s5Test client for the lazr.restful example web service.tCookbookWebServiceClienti(tquote(tCollectionWithKeyBasedLookuptServiceRoottCookbookSetcBseZdZdZdZRS(s>A custom subclass capable of cookbook lookup by cookbook name.cCs*t|jjjdtt|S(s>Transform a cookbook name into the URL to a cookbook resource.s
cookbooks/(tstrt_roott	_root_uritensureSlashR(tselftid((sD/usr/lib/python2.7/dist-packages/lazr/restfulclient/tests/example.pyt_get_url_from_id stcookbook(t__name__t
__module__t__doc__Rt
collection_of(((sD/usr/lib/python2.7/dist-packages/lazr/restfulclient/tests/example.pyRs	t	RecipeSetcBseZdZdZdZRS(s8A custom subclass capable of recipe lookup by recipe ID.cCs$t|jjjdt|S(s8Transform a recipe ID into the URL to a recipe resource.srecipes/(RRRR(R	R
((sD/usr/lib/python2.7/dist-packages/lazr/restfulclient/tests/example.pyR+strecipe(R
RRRR(((sD/usr/lib/python2.7/dist-packages/lazr/restfulclient/tests/example.pyR(s	cBsIeZeejZeed<eed<dZdZeeddZ
RS(trecipest	cookbooksshttp://cookbooks.dev/s1.0cCs)tt|jd|d|d|dS(Ntcachetversion(tsuperRt__init__tNone(R	tservice_rootRR((sD/usr/lib/python2.7/dist-packages/lazr/restfulclient/tests/example.pyR;sN(R
RtdictRtRESOURCE_TYPE_CLASSESRRtDEFAULT_SERVICE_ROOTtDEFAULT_VERSIONRR(((sD/usr/lib/python2.7/dist-packages/lazr/restfulclient/tests/example.pyR2s

N(Rttypet
__metaclass__t__all__turllibRtlazr.restfulclient.resourceRRRRR(((sD/usr/lib/python2.7/dist-packages/lazr/restfulclient/tests/example.pyt<module>s