Skip to content

Commit f202c6f

Browse files
author
Sebastian Molenda
committed
linter
1 parent 0840880 commit f202c6f

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

pubnub/request_handlers/async_aiohttp.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import aiohttp
22
import asyncio
33
import logging
4-
import time
54
import json # noqa # pylint: disable=W0611
65
import urllib
76

@@ -98,7 +97,6 @@ async def async_request(self, options_func, cancellation_event):
9897
try:
9998
if not self._session:
10099
await self.create_session()
101-
start_timestamp = time.time()
102100
response = await asyncio.wait_for(
103101
self._session.request(
104102
options.method_string,

pubnub/request_handlers/async_httpx.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
from asyncio import Event
22
import asyncio
33
import logging
4-
import time
54
import httpx
65
import json # noqa # pylint: disable=W0611
76
import urllib
@@ -113,7 +112,6 @@ async def async_request(self, options_func, cancellation_event):
113112
try:
114113
if not self._session:
115114
await self.create_session()
116-
start_timestamp = time.time()
117115
response = await asyncio.wait_for(
118116
self._session.request(**request_arguments),
119117
options.request_timeout

0 commit comments

Comments
 (0)