final readthedocs quickstart example not producing expected result
ras44 opened this issue · 2 comments
ras44 commented
The final example at:
https://bravado.readthedocs.io/en/stable/quickstart.html
https://github.com/Yelp/bravado/blame/master/docs/source/quickstart.rst#L94-L110
does not seem to produce a dict. print(type(result))
shows an object of the same class as the first example's result: <class 'abc.Pet'>
and print(result)
is:
['category', 'id', 'name', 'photoUrls', 'status', 'tags']
sjaensch commented
This works for me, are you sure you passed config={'use_models': False}
to SwaggerClient.from_url()
?
ras44 commented
Indeed. It works now. My apologies!