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

Bug #342709 reported by Markus Korn
2
Affects Status Importance Assigned to Milestone
launchpadlib
Triaged
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)
Changed in launchpadlib:
assignee: nobody → thekorn
status: New → In Progress
Revision history for this message
Markus Korn (thekorn) wrote :
Revision history for this message
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)
Changed in launchpadlib:
assignee: Markus Korn (thekorn) → nobody
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.