launchpad-dev team mailing list archive
-
launchpad-dev team
-
Mailing list archive
-
Message #09091
Re: New services infrastructure
Yo (to use the vulgar).
On 03/01/2012 10:19 AM, Aaron Bentley wrote:
> On 12-03-01 02:43 AM, Ian Booth wrote:
>> from launchpadlib.launchpad import Launchpad lp =
>> Launchpad.login_with('testing', version='devel') # Launchpadlib
>> can't do relative url's service = self.launchpad.load(
>> '%s/+services/accesspolicy' % self.launchpad._root_uri)
>> service.addPillarObserver(....)
>
> I hope that eventually, we'll be able to access this more cleanly.
> Say, as self.launchpad.services.accesspolicy
Ian neglected to mention that this is an experiment. When [1] this
experiment is over we will add a ServicesSet to this module.
http://bazaar.launchpad.net/~lazr-developers/launchpadlib/trunk/view/head:/src/launchpadlib/launchpad.py
[1] We expect the experiment to succeed.
--
Curtis Hovey
http://launchpad.net/~sinzui
Attachment:
signature.asc
Description: OpenPGP digital signature
References