Xqt added a comment.
Having a UploadRobot dict attribute is to special for a framework; this might lead to unnecessary memory exhausting if you load a images from generator. I think a interface is an appropriate way to do this. Another way would be using the lower level method `upload_file` where you give the `file_url` and get the possible new `filename` back. The current implementation of `imagetransfer` uses this technique and the new implementation of post_processor is used there with that patch given above. TASK DETAIL https://phabricator.wikimedia.org/T360837 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt Cc: Xqt, Aklapper, pywikibot-bugs-list, Ninovolador, mevo, Isabelladantes1983, Themindcoder, Adamm71, Jersione, Hellket777, LisafBia6531, 786, Biggs657, PotsdamLamb, Jyoo1011, JohnsonLee01, Juan90264, SHEKH, Dijkstra, Alter-paule, Beast1978, Un1tY, Khutuck, Zkhalido, Hook696, Kent7301, joker88john, Viztor, CucyNoiD, Wenyi, Gaboe420, Giuliamocci, Cpaulf30, Af420, Bsandipan, Tbscho, MayS, Lewizho99, Mdupont, JJMC89, Maathavan, Dvorapa, Altostratus, Neuronton, Avicennasis, mys_721tx, jayvdb, Masti, Alchimista
_______________________________________________ pywikibot-bugs mailing list -- [email protected] To unsubscribe send an email to [email protected]
