Make sure this resource has a representation fetched when retrieving resource's parameters
Bug #342709 reported by
Markus Korn
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.
send: 'GET /beta/bugs/
In [6]: task = bug.bug_tasks[0]
send: 'GET /beta/bugs/
In [7]: target = task.target
In [8]: dir(target)
Out[8]:
[...]
In [9]:
Related branches
lp:~thekorn/launchpadlib/fix-342709-ensure-representation
Rejected
for merging
into
lp:~launchpad-pqm/launchpadlib/devel
- Leonard Richardson (community): Disapprove
- Diff: None lines
Changed in launchpadlib: | |
assignee: | nobody → thekorn |
status: | New → In Progress |
Changed in launchpadlib: | |
assignee: | Markus Korn (thekorn) → nobody |
To post a comment you must log in.
Fixed in the attached branch, merge proposal at https:/ /code.edge. launchpad. net/~thekorn/ launchpadlib/ fix-342709- ensure- representation/ +merge/ 4483