temporary_blobs.fetch returns a representation of the blob rather than the temporary_blob object
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Triaged
|
Low
|
Unassigned |
Bug Description
Using fetch() to fetch a temporary_blob object returns its representation rather than the object itself.
>>> lp
<launchpadlib.
>>> token
'672321c0-
>>> lp.temporary_
{u'http_etag': u'"a55c2b8eec73
u'resource_
u'self_link': u'https:/
u'token': u'672321c0-
Workaround is to use:
>>> blob_info = lp.temporary_
>>> blob = lp.load(
>>> blob
<temporary_blob at https:/
>>> blob.getProcess
<lazr.restfulcl
Changed in malone: | |
importance: | Undecided → Low |
status: | New → Triaged |