Closed reet- closed 7 years ago
Hi,
If I call e.g. file.upload, which returns nonempty guid:
file.upload
phid = phab.file.upload(data_base64=content, name=name)
I get:
print phid <Result: u'PHID-FILE-xy'>
print phid
<Result: u'PHID-FILE-xy'>
But what I want (without parsing the result string) is PHID-FILE-xy. Am I missing something?
PHID-FILE-xy
Thanks!
You can access it from phid.response.
phid.response
@tail Works, thanks!
Closing this issue.
Hi,
If I call e.g.
file.upload
, which returns nonempty guid:phid = phab.file.upload(data_base64=content, name=name)
I get:
print phid
<Result: u'PHID-FILE-xy'>
But what I want (without parsing the result string) is
PHID-FILE-xy
. Am I missing something?Thanks!