mirror of
https://github.com/valitydev/openapi-generator.git
synced 2024-11-08 03:18:53 +00:00
Update doc string of RESTClientObject#agent method of python client
This commit is contained in:
parent
b42ead3c0f
commit
517717958d
@ -69,7 +69,8 @@ class RESTClientObject(object):
|
||||
|
||||
def agent(self, url):
|
||||
"""
|
||||
Return proper pool manager for the http\https schemes.
|
||||
Use `urllib3.util.parse_url` for backward compatibility.
|
||||
Return proper pool manager for the http/https schemes.
|
||||
"""
|
||||
url = urllib3.util.parse_url(url)
|
||||
scheme = url.scheme
|
||||
|
@ -69,7 +69,8 @@ class RESTClientObject(object):
|
||||
|
||||
def agent(self, url):
|
||||
"""
|
||||
Return proper pool manager for the http\https schemes.
|
||||
Use `urllib3.util.parse_url` for backward compatibility.
|
||||
Return proper pool manager for the http/https schemes.
|
||||
"""
|
||||
url = urllib3.util.parse_url(url)
|
||||
scheme = url.scheme
|
||||
|
Loading…
Reference in New Issue
Block a user