jenkins-bot has submitted this change. (
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1293122?usp=email )
Change subject: [typing] fix BaseSiteProtocol.namespaces property
......................................................................
[typing] fix BaseSiteProtocol.namespaces property
The namespaces property has **kwargs parameter
but properties should not accept arguments beyond 'self'
Change-Id: Icf4179de55137d2f560666103cdbebcbb7275e93
---
M pywikibot/site/_extensions.py
1 file changed, 1 insertion(+), 1 deletion(-)
Approvals:
jenkins-bot: Verified
Xqt: Looks good to me, approved
diff --git a/pywikibot/site/_extensions.py b/pywikibot/site/_extensions.py
index 41b6b68..a5e32e8 100644
--- a/pywikibot/site/_extensions.py
+++ b/pywikibot/site/_extensions.py
@@ -44,7 +44,7 @@
...
@property
- def namespaces(self, **kwargs) -> NamespacesDict:
+ def namespaces(self) -> NamespacesDict:
...
def simple_request(self, **kwargs) -> api.Request:
--
To view, visit
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1293122?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: Icf4179de55137d2f560666103cdbebcbb7275e93
Gerrit-Change-Number: 1293122
Gerrit-PatchSet: 2
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]