Skip to content

Commit 2a0f2c9

Browse files
committed
Remove Async Threads
1 parent 1049b03 commit 2a0f2c9

File tree

5 files changed

+1
-155
lines changed

5 files changed

+1
-155
lines changed

src/recnetpy/rest/async_threads/__init__.py

Lines changed: 0 additions & 2 deletions
This file was deleted.

src/recnetpy/rest/async_threads/async_thread.py

Lines changed: 0 additions & 44 deletions
This file was deleted.

src/recnetpy/rest/async_threads/async_thread_pool.py

Lines changed: 0 additions & 55 deletions
This file was deleted.

src/recnetpy/rest/async_threads/thread_task.py

Lines changed: 0 additions & 53 deletions
This file was deleted.

src/recnetpy/rest/route_builder.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ async def make_request(self, method: str, params: Optional[Dict] = None, body: O
3434
"""
3535
if self.use_auth:
3636
if headers is None: headers = {}
37-
headers['Ocp-Apim-Subscription-Key'] = HTTPClient.api_key
37+
headers['Ocp-Apim-Subscription-Key'] = self.client.api_key
3838
url = self.base + "/".join(self.route)
3939
request = Request(self.client.session, method, url, params, body, headers)
4040
return await self.client.push(request)

0 commit comments

Comments
 (0)