Closed sjaensch closed 5 years ago
😍 thanks a lot if tests pass feel free to merge this branch
I've had to remove additional cast()
calls, they were causing lots of failing tests with NotImplementedError: This IncomingResponse type <class 'bravado.fido_client.FidoResponseAdapter'> forgot to implement an attr for headers
. I'm getting uncomfortable with using cast
at all now...
Let's make sure that on the Changelog is explicit the fact that BravadoConfig.from_config_dict
has been removed.
A major release could eventually be avoided by the fact that BravadoConfig
is an internal structure
We've run into two issues internally:
typing.TYPE_CHECKING
was added in Python 3.5.2, which means master is currently broken on 3.5.1 and 3.5.0.TypeError: descriptor '__subclasses__' of 'type' object needs an argument
. The code that's failing is a cast we do, which does execute at runtime (but where I'd have thought that it is a no-op). This is the code:I've manually verified that all tests pass on a xenial box.