jenkins-bot has submitted this change. ( https://gerrit.wikimedia.org/r/c/pywikibot/core/+/735990 )
Change subject: [cleanup] Remove deprecated Page.put_async() method ......................................................................
[cleanup] Remove deprecated Page.put_async() method
Bug: T193494 Change-Id: I424dbbe2474e20f70ec7c49d8d0ce8615121bab2 --- M pywikibot/page/__init__.py 1 file changed, 0 insertions(+), 17 deletions(-)
Approvals: JJMC89: Looks good to me, approved jenkins-bot: Verified
diff --git a/pywikibot/page/__init__.py b/pywikibot/page/__init__.py index 59d5781..ee2a538 100644 --- a/pywikibot/page/__init__.py +++ b/pywikibot/page/__init__.py @@ -1266,23 +1266,6 @@ force=force, asynchronous=asynchronous, callback=callback, **kwargs)
- @deprecated('put(asynchronous=True) or save(asynchronous=True)', - since='20180501') - def put_async(self, newtext, summary=None, watch=None, minor=True, - botflag=None, force=False, callback=None, - **kwargs): # pragma: no cover - """ - Put page on queue to be saved to wiki asynchronously. - - Asynchronous version of put (takes the same arguments), which places - pages on a queue to be saved by a daemon thread. All arguments are - the same as for .put(). This version is maintained solely for - backwards-compatibility. - """ - self.put(newtext, summary=summary, watch=watch, - minor=minor, botflag=botflag, force=force, - asynchronous=True, callback=callback, **kwargs) - def watch(self, unwatch: bool = False) -> bool: """ Add or remove this page to/from bot account's watchlist.
pywikibot-commits@lists.wikimedia.org