This will allow you to use bravado-core with the jsonschema > 4.0.
E.g. in the following case:
from bravado_core.spec import Spec
from bravado.requests_client import RequestsClient
http_client = RequestsClient()
spec = Spec.from_dict(spec_dict, origin_url=origin_url, config=config, http_client=http_client)
# This call can throw an error without the fix
flattened_spec = spec.deref_flattened_spec
bravado-core doesn't currently support jsonschema>4 - many tests fail.
I guess the reason is that the last release of bravado-core was before jsonschema v4 was released.
This will allow you to use bravado-core with the jsonschema > 4.0.
E.g. in the following case: