jenkins-bot has submitted this change. (
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1166476?usp=email )
Change subject: cleanup: remove ParamInfo._prefixes and ParamInfo._with_limits
......................................................................
cleanup: remove ParamInfo._prefixes and ParamInfo._with_limits
Both were desupported in release 2.0 and removed with release 5.6
Bug: T100779
Bug: T109168
Change-Id: Ib9f73c7c7e1facad9470cc57680f8ae67640b9ee
---
M pywikibot/data/api/_paraminfo.py
1 file changed, 2 insertions(+), 4 deletions(-)
Approvals:
Xqt: Looks good to me, approved
jenkins-bot: Verified
diff --git a/pywikibot/data/api/_paraminfo.py b/pywikibot/data/api/_paraminfo.py
index 49a8c22..e9bf0af 100644
--- a/pywikibot/data/api/_paraminfo.py
+++ b/pywikibot/data/api/_paraminfo.py
@@ -1,6 +1,6 @@
"""Object representing API parameter information."""
#
-# (C) Pywikibot team, 2014-2024
+# (C) Pywikibot team, 2014-2025
#
# Distributed under the terms of the MIT license.
#
@@ -45,12 +45,10 @@
self.site = site
# Keys are module names, values are the raw responses from the server.
- self._paraminfo = {}
+ self._paraminfo: dict[str, Any] = {}
# Cached data.
- self._prefixes = {}
self._prefix_map = {}
- self._with_limits = None
self._action_modules = frozenset() # top level modules
self._modules = {} # filled in _init() (and enlarged in fetch)
--
To view, visit
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1166476?usp=email
To unsubscribe, or for help writing mail filters, visit
https://gerrit.wikimedia.org/r/settings?usp=email
Gerrit-MessageType: merged
Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Change-Id: Ib9f73c7c7e1facad9470cc57680f8ae67640b9ee
Gerrit-Change-Number: 1166476
Gerrit-PatchSet: 1
Gerrit-Owner: Xqt <[email protected]>
Gerrit-Reviewer: Xqt <[email protected]>
Gerrit-Reviewer: jenkins-bot
_______________________________________________
Pywikibot-commits mailing list -- [email protected]
To unsubscribe send an email to [email protected]