bravado
bravado copied to clipboard
AttributeError: 'Future' object has no attribute 'wait'
When using requests==2.11.0 ( the latest version) with the FidoClient, I get
Traceback (most recent call last):
File "test_forward.py", line 66, in <module>
_request_options=_request_options,
File "/nail/home/bmarty/pg/scrubbed/virtualenv_run/local/lib/python2.7/site-packages/bravado/http_future.py", line 70, in result
inner_response = self.future.result(timeout=timeout)
File "/nail/home/bmarty/pg/scrubbed/virtualenv_run/local/lib/python2.7/site-packages/bravado/fido_client.py", line 145, in result
return self._eventual_result.wait(timeout=timeout)
AttributeError: 'Future' object has no attribute 'wait'
Hi @bxm156 ... I have checked your issue ... The logs are here.
Are you still able to reproduce the issue? If so could you give me more context? If not could you close the comment?
@macisamuele I updated the requirement versions for all my packages in requirements.txt, and it started working. I tried to figure out which bump was the cause, but after spending 20 minutes on that, I gave up and figured it wasn't worth it.