jenkins-bot has submitted this change. ( https://gerrit.wikimedia.org/r/c/pywikibot/core/+/673708 )
Change subject: [cleanup] Remove deprecated getuserinfo and getglobaluserinfo Site methods ......................................................................
[cleanup] Remove deprecated getuserinfo and getglobaluserinfo Site methods
Change-Id: Ida5f902b0e095d8776d3c7b9497441a84d238afe --- M pywikibot/site/_apisite.py 1 file changed, 0 insertions(+), 15 deletions(-)
Approvals: JJMC89: Looks good to me, approved jenkins-bot: Verified
diff --git a/pywikibot/site/_apisite.py b/pywikibot/site/_apisite.py index 5b621eb..eb63661 100644 --- a/pywikibot/site/_apisite.py +++ b/pywikibot/site/_apisite.py @@ -492,16 +492,6 @@ if hasattr(self, '_userinfo'): del self._userinfo
- @deprecated('userinfo property and userinfo deleter', since='20210110') - def getuserinfo(self, force: bool = False) -> dict: - """DEPRECATED. Retrieve userinfo from site. - - @param force: force to retrieve userinfo ignoring cache - """ - if force: - del self.userinfo - return self.userinfo - @property def globaluserinfo(self): """Retrieve globaluserinfo from site and cache it. @@ -532,11 +522,6 @@ self._globaluserinfo['registration'] = iso_ts return self._globaluserinfo
- @deprecated('globaluserinfo property', since='20210110') - def getglobaluserinfo(self): - """DEPRECATED. Retrieve globaluserinfo.""" - return self.globaluserinfo - @remove_last_args(['sysop']) def is_blocked(self): """
pywikibot-commits@lists.wikimedia.org