@@ -99,14 +99,14 @@ <h2 class="section-title" id="header-classes">Classes</h2>
9999 async with aiohttp.ClientSession(
100100 connector=aiohttp.TCPConnector(verify_ssl=False)
101101 ) as session:
102- async with async_timeout .timeout(10):
102+ async with asyncio .timeout(10):
103103 async with session.get(
104104 self.base_url + uri, headers=self.headers
105105 ) as resp:
106106 await checkResponseForError(await resp.text())
107107 return await resp.text()
108108 else:
109- async with async_timeout .timeout(10):
109+ async with asyncio .timeout(10):
110110 async with self.session.get(
111111 self.base_url + uri, headers=self.headers
112112 ) as resp:
@@ -135,14 +135,14 @@ <h2 class="section-title" id="header-classes">Classes</h2>
135135 async with aiohttp.ClientSession(
136136 connector=aiohttp.TCPConnector(verify_ssl=False)
137137 ) as session:
138- async with async_timeout .timeout(10):
138+ async with asyncio .timeout(10):
139139 async with session.post(
140140 self.base_url + uri, headers=self.headers, json=dataDictionary
141141 ) as resp:
142142 await checkResponseForError(await resp.text())
143143 return await resp.text()
144144 else:
145- async with async_timeout .timeout(10):
145+ async with asyncio .timeout(10):
146146 async with self.session.post(
147147 self.base_url + uri, headers=self.headers, json=dataDictionary
148148 ) as resp:
@@ -783,14 +783,14 @@ <h2 id="returns">Returns</h2>
783783 async with aiohttp.ClientSession(
784784 connector=aiohttp.TCPConnector(verify_ssl=False)
785785 ) as session:
786- async with async_timeout .timeout(10):
786+ async with asyncio .timeout(10):
787787 async with session.get(
788788 self.base_url + uri, headers=self.headers
789789 ) as resp:
790790 await checkResponseForError(await resp.text())
791791 return await resp.text()
792792 else:
793- async with async_timeout .timeout(10):
793+ async with asyncio .timeout(10):
794794 async with self.session.get(
795795 self.base_url + uri, headers=self.headers
796796 ) as resp:
@@ -833,14 +833,14 @@ <h2 id="parameters">Parameters</h2>
833833 async with aiohttp.ClientSession(
834834 connector=aiohttp.TCPConnector(verify_ssl=False)
835835 ) as session:
836- async with async_timeout .timeout(10):
836+ async with asyncio .timeout(10):
837837 async with session.post(
838838 self.base_url + uri, headers=self.headers, json=dataDictionary
839839 ) as resp:
840840 await checkResponseForError(await resp.text())
841841 return await resp.text()
842842 else:
843- async with async_timeout .timeout(10):
843+ async with asyncio .timeout(10):
844844 async with self.session.post(
845845 self.base_url + uri, headers=self.headers, json=dataDictionary
846846 ) as resp:
0 commit comments