ProPeler
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
usr
/
lib
/
python3
/
dist-packages
/
launchpadlib
/
__pycache__
/
Filename :
launchpad.cpython-38.pyc
back
Copy
U ��^�n � @ s� d Z eZdgZddlZddlZzddlmZ W n ddlmZ Y nX ddl Z zddl mZ W n& ek r� ddl m Z e jZY nX ddlmZmZmZmZ ddlmZ dd lmZ dd lmZmZmZmZmZmZmZm Z m!Z! ddl"m#Z# ddl$m%Z%m&Z& d Z'G dd� de�Z(G dd� de�Z)G dd� de�Z*G dd� de*�Z+G dd� de*�Z,G dd� de*�Z-G dd� de�Z.G dd� de�Z/dS )zRoot Launchpad API class.� Launchpad� N)�urlsplit)�proxy_info_from_environment)� ProxyInfo)�CollectionWithKeyBasedLookup� HostedFile�ScalarValue�ServiceRoot)�SystemWideConsumer)�RestfulHttp) �AccessToken�AnonymousAccessToken� AuthorizeRequestTokenWithBrowser�AuthorizeRequestTokenWithURL�Consumer�Credentials�MemoryCredentialStore�KeyringCredentialStore�UnencryptedFileCredentialStore)�uris)�STAGING_SERVICE_ROOT�EDGE_SERVICE_ROOTzhttps://api.launchpad.netc @ s e Zd ZdZdd� ZdZdS )� PersonSetz7A custom subclass capable of person lookup by username.c C s t | jj�� �d t |� S )z7Transform a username into the URL to a person resource.�~��strZ_rootZ _root_uriZensureSlash��self�key� r �8/usr/lib/python3/dist-packages/launchpadlib/launchpad.py�_get_url_from_idD s zPersonSet._get_url_from_idZteamN��__name__� __module__�__qualname__�__doc__r! � collection_ofr r r r r A s r c @ s e Zd ZdZdd� ZdZdS )�BugSetz2A custom subclass capable of bug lookup by bug ID.c C s t | jj�� �d t |� S )z2Transform a bug ID into the URL to a bug resource.zbugs/r r r r r r! Q s zBugSet._get_url_from_idZbugNr"