Make sure this resource has a representation fetched when retrieving resource's parameters

Bug #342709 reported by Markus Korn on 2009-03-14
2
Affects Status Importance Assigned to Milestone
launchpadlib
Low
Unassigned

Bug Description

For some resources fetching the representation and binding the resource is done on demand. As you can see in the following example this binding is not triggered when calling dir() on such an object:

In [5]: bug = launchpad.bugs[123456]
send: 'GET /beta/bugs/123456[...]

In [6]: task = bug.bug_tasks[0]
send: 'GET /beta/bugs/123456/bug_tasks?ws.start=0[...]

In [7]: target = task.target

In [8]: dir(target)
Out[8]:
[...]

In [9]:

Markus Korn (thekorn) on 2009-03-14
Changed in launchpadlib:
assignee: nobody → thekorn
status: New → In Progress
Leonard Richardson (leonardr) wrote :

The merge proposal was rejected, so I'm putting the status back to Triaged.

Changed in launchpadlib:
importance: Undecided → Low
status: In Progress → Triaged
Gary Poster (gary) on 2009-10-20
Changed in launchpadlib:
assignee: Markus Korn (thekorn) → nobody
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers