Cannot define a method that returns a dict
Bug #481090 reported by
Jonathan Lange
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
lazr.restful |
Triaged
|
Low
|
Unassigned |
Bug Description
I'd like to define a method in Launchpad called BranchSet.
Further (and this might be a separate bug), if I simply return a list of branches (i.e. a collection of IBranch), then any None objects that I return from the server are excluded from the returned collection, preventing the client from matching URLs to branches via list index.
This means that there's no way to expose convenience methods that get multiple objects.
To post a comment you must log in.
https:/ /code.edge. launchpad. net/~jml/ launchpad/ get-by- urls/+merge/ 14773 has a change that demonstrates the latter part of this bug.