Make launchpadlib support positional parameters when invoking named operations
Bug #249928 reported by
Leonard Richardson
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Triaged
|
Low
|
Unassigned |
Bug Description
To invoke a named operation from launchpadlib you must use keyword parameters, unless the operation only takes one parameter. Supporting positional parameters in general is a bit of work but it can be done.
1. Change the operation_
2. When exporting WADL, give the parameters of a named operation in the order they were exported, except put optional fields at the end.
3. Change launchpadlib to support *args, matching them against the WADL parameters in the order they were exported.
Changed in launchpad-foundations: | |
status: | New → Triaged |
importance: | Undecided → Low |
To post a comment you must log in.