Add introspection features

Bug #253407 reported by Leonard Richardson
2
Affects Status Importance Assigned to Milestone
launchpadlib
Fix Released
Undecided
Leonard Richardson

Bug Description

Currently there's no way to find out what you can do with a launchpadlib resource, apart from looking at the reference docs or the wadl. It would be very cost-effective to implement dir() on Resource. It would probably be a wrapper around a wadllib dir(), which would look at the WADL representation of the resource and return the list of followable links.

A little less cost-effective but still useful would be lp_fields, lp_links, and lp_collection_links methods that tell you which fields are which.

Changed in launchpadlib:
assignee: nobody → leonardr
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.