Question

If I use the following code:

result = urlfetch.fetch(url=url_get_devices, 
                        payload='',
                        method=urlfetch.POST,
                        headers=headers,
                        deadline=10
                        )         

then I am getting error:

File "D:\Work_GAE\test.py", line 27, in get deadline=10 TypeError: fetch() got an unexpected keyword argument 'deadline'

But if I remove deadline argument, then it works well. What is wrong here?

Was it helpful?

Solution

It sounds like you're using a very old version of the App Engine SDK. You should update to the latest version.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top