← Back to team overview

launchpad-dev team mailing list archive

Re: Help please - launchpadlib collections

 

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 12-04-11 09:17 PM, Ian Booth wrote:
> Plus, it is possible to iterate over the named services and see 
> what's there, what service interfaces are implemented, what methods
> are available etc. ie a classic discoverability pattern.

But this is also true of the lp.servicefoo approach.  dir(lp) will
list them, getattr can retrieve them.  So I don't think the
discoverability/iteration argument is a strong one.

Aaron
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk+G54IACgkQ0F+nu1YWqI3mngCaA1gh/VcQDcWsAJjHARPlbZNM
ZnsAnRBkzz52c8hdud6GJQm0ho39LiXP
=w1tU
-----END PGP SIGNATURE-----


Follow ups

References