Open straticsryan opened 9 years ago
To note, this also needs to happen in swagger py or else you'll get an error saying you can't find swagger_model or something.
alternatively, you can do this as well:
import sys
if sys.version_info < (3, 0):
import urllib
import urlparse
else:
import urllib.request as urllib
import urllib.parse as urlparse
Any updates getting this working on python3 ?
in python 3, urlparse has been renamed to urllib.parse (https://docs.python.org/2/library/urlparse.html).
you can use the following code to try python2's name and on error try python3's name.