/usr/lib/python2.6/site-packages/keystoneclient/openstack/common/apiclient
NameSizeModeActions
auth.py74770644editdlrm
auth.pyc88030644editdlrm
base.py147960644editdlrm
base.pyc169040644editdlrm
client.py138940644editdlrm
client.pyc140140644editdlrm
exceptions.py36110644editdlrm
exceptions.pyc17720644editdlrm
fake_client.py64810644editdlrm
fake_client.pyc63440644editdlrm
utils.py34240644editdlrm
utils.pyc21670644editdlrm
__init__.py7940644editdlrm
__init__.pyc3920644editdlrm
Edit: /usr/lib/python2.6/site-packages/keystoneclient/openstack/common/apiclient/base.pyc (16904B)
Ñò s (titemsR?tallR R(RRtfoundtsearches((Rs]/tmp/pip-build-cD3xZi/python-keystoneclient/keystoneclient/openstack/common/apiclient/base.pyRAs   (RRRtabctabstractmethodR?RHRA(((s]/tmp/pip-build-cD3xZi/python-keystoneclient/keystoneclient/openstack/common/apiclient/base.pyR>çs t CrudManagercBs€eZdZd Zd Zd d„Zd„Zd„Zd„Z d„Z d d„Z d d„Z d„Z d „Zd d „ZRS( sBase manager class for manipulating entities. Children of this class are expected to define a `collection_key` and `key`. - `collection_key`: Usually a plural noun by convention (e.g. `entities`); used to refer collections in both URL's (e.g. `/v3/entities`) and JSON objects containing a list of member resources (e.g. `{'entities': [{}, {}, {}]}`). - `key`: Usually a singular noun by convention (e.g. `entity`); used to refer to an individual member of the collection. cKsd|dj o|nd}|d|i7}|id|iƒ}|dj o|d|7}n|S(sBuilds a resource URL for the given kwargs. Given an example collection where `collection_key = 'entities'` and `key = 'entity'`, the following URL's could be generated. By default, the URL will represent a collection of entities, e.g.:: /entities If kwargs contains an `entity_id`, then the URL will represent a specific member, e.g.:: /entities/{entity_id} :param base_url: if provided, the generated URL will be appended to it ts/%ss%s_idN(R"tcollection_keyRtkey(Rtbase_urlRR't entity_id((s]/tmp/pip-build-cD3xZi/python-keystoneclient/keystoneclient/openstack/common/apiclient/base.pyt build_url&s  cCs}xvti|iƒƒD]_\}}|djo|i|ƒqt|tƒo%|i|ƒt|ƒ|d|(R@(R((s]/tmp/pip-build-cD3xZi/python-keystoneclient/keystoneclient/openstack/common/apiclient/base.pyt__repr__¸s(RjRkN( RRRRpR"RnRRmRt(((s]/tmp/pip-build-cD3xZi/python-keystoneclient/keystoneclient/openstack/common/apiclient/base.pyRi s   (RRQRZtsix.moves.urllibRt%keystoneclient.openstack.common._i18nRtkeystoneclientRt_baset)keystoneclient.openstack.common.apiclientRRtobjectR Rt add_metaclasstABCMetaR>RSRiR_(((s]/tmp/pip-build-cD3xZi/python-keystoneclient/keystoneclient/openstack/common/apiclient/base.pyts   .Š