⚓ T212133 EventStreams fails with since parameter
Article Images
EventStreams fails with since parameter
EventStreams fails with since parameter
>>> from pywikibot.comms.eventstreams import EventStreams >>> stream = EventStreams(streams='recentchange', since='20160101111111') Traceback (most recent call last): File "<pyshell#9>", line 1, in <module> stream = EventStreams(streams='recentchange', since='20160101111111') File "pywikibot\tools\__init__.py", line 1739, in wrapper return obj(*__args, **__kw) File "pywikibot\comms\eventstreams.py", line 125, in __init__ self._url = kwargs.get('url') or self.url File "pywikibot\comms\eventstreams.py", line 161, in url if self._since else '')) TypeError: coercing to Unicode: need string or buffer, Timestamp found
Event Timeline
Xqt triaged this task as High priority.Dec 17 2018, 3:34 PM
Xqt closed this task as Resolved.Dec 24 2018, 2:28 PM
Content licensed under Creative Commons Attribution-ShareAlike (CC BY-SA) 4.0 unless otherwise noted; code licensed under GNU General Public License (GPL) 2.0 or later and other open source licenses. By using this site, you agree to the Terms of Use, Privacy Policy, and Code of Conduct. · Wikimedia Foundation · Privacy Policy · Code of Conduct · Terms of Use · Disclaimer · CC-BY-SA · GPL · Credits