/srv/irclogs.ubuntu.com/2017/09/01/#launchpad.txt

=== lifeless_ is now known as lifeless
nacchow does one call the "standard methods" in https://launchpad.net/+apidoc/devel.html, e.g. DELETE? If I do obj.DELETE or obj.delete on a git_repository object, I get "has no attribute" (no such parameter from restfulclient)16:19
cjwatsonnacc: .lp_delete()16:19
nacccjwatson: ah! thanks16:19
nacccjwatson: do i need to do a lp_save() after?16:20
cjwatsonno16:20
naccok, thanks16:20
cjwatsonyou only need that after setting attributes16:20
nacccjwatson: and will lp_delete not return until the deletion is done? or do i need to poll on it?16:21
cjwatsonthe former - it's synchronous16:21
nacccjwatson: great, thanks again!16:21
cjwatsonassuming the backend is synchronous of course, but they generally are16:21
cjwatsonthere are some DELETE implementations in LP that kick off async jobs (for example deleting a Git repository schedules a job to reclaim space on the hosting backend), but I believe it's always true that the relevant DB row(s) will have been deleted after DELETE returns16:23
naccthat makes sense16:24
=== JanC is now known as Guest2554
=== JanC_ is now known as JanC
GF7862hi, i need help with an account issue please23:49

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!