You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
from wikidata.client import Client
client = Client()
entity = client.get('20145', load=True)
Traceback (most recent call last):
File "", line 1, in
File "C:\ProgramData\Anaconda3\lib\site-packages\wikidata\client.py", line 139, in get
entity.load()
File "C:\ProgramData\Anaconda3\lib\site-packages\wikidata\entity.py", line 239, in load
result = self.client.request(url)
File "C:\ProgramData\Anaconda3\lib\site-packages\wikidata\client.py", line 193, in request
response = self.opener.open(url)
File "C:\ProgramData\Anaconda3\lib\urllib\request.py", line 532, in open
response = meth(req, response)
File "C:\ProgramData\Anaconda3\lib\urllib\request.py", line 642, in http_response
'http', request, response, code, msg, hdrs)
File "C:\ProgramData\Anaconda3\lib\urllib\request.py", line 570, in error
return self._call_chain(*args)
File "C:\ProgramData\Anaconda3\lib\urllib\request.py", line 504, in _call_chain
result = func(*args)
File "C:\ProgramData\Anaconda3\lib\urllib\request.py", line 650, in http_error_default
raise HTTPError(req.full_url, code, msg, hdrs, fp)
urllib.error.HTTPError: HTTP Error 400: Bad Request
The text was updated successfully, but these errors were encountered:
The text was updated successfully, but these errors were encountered: