launchpad-dev team mailing list archive
-
launchpad-dev team
-
Mailing list archive
-
Message #09226
Re: Help please - launchpadlib collections
On 12-04-11 09:26 PM, Ian Booth wrote:
>>> >>
>>> >> 1. Adopt my current solution which defines a ServiceSet in launchpadlib
>>> >> and allows the syntax lp.services['myservice']
>> >
>> > I think that might be the best way forward - modulo my concerns with the
>> > fact that you are not really exporting a collection.
>> >
> Hopefully my explanation in the other email provides the reasons why I
> chose to export the services as a collection.
>
>
Yes, it does. If you think that iterating over the services is part of
the ServiceSet API, then it makes sense to export as a collection.
--
Francis J. Lacoste
francis.lacoste@xxxxxxxxxxxxx
Attachment:
signature.asc
Description: OpenPGP digital signature
References