mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2026-03-16 16:59:18 +00:00
feat: [python/asyncio] use ssl argument instead of ssl_context (deprecated from aiohttp>=3.0.0) (#1724)
This commit is contained in:
committed by
William Cheng
parent
d38b9e588b
commit
89a0ffa66c
@@ -58,7 +58,7 @@ class RESTClientObject(object):
|
||||
|
||||
connector = aiohttp.TCPConnector(
|
||||
limit=maxsize,
|
||||
ssl_context=ssl_context
|
||||
ssl=ssl_context
|
||||
)
|
||||
|
||||
# https pool manager
|
||||
|
||||
@@ -18,7 +18,7 @@ VERSION = "{{packageVersion}}"
|
||||
|
||||
REQUIRES = ["urllib3 >= 1.15", "six >= 1.10", "certifi", "python-dateutil"]
|
||||
{{#asyncio}}
|
||||
REQUIRES.append("aiohttp")
|
||||
REQUIRES.append("aiohttp >= 3.0.0")
|
||||
{{/asyncio}}
|
||||
{{#tornado}}
|
||||
REQUIRES.append("tornado>=4.2,<5")
|
||||
|
||||
Reference in New Issue
Block a user