From 30b83f978e9efef1e247795418e0ba6dbbd650d3 Mon Sep 17 00:00:00 2001 From: Min3953 Date: Thu, 8 Mar 2018 15:57:02 +0900 Subject: [PATCH] Drop resolve attribute --- raven_aiohttp.py | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/raven_aiohttp.py b/raven_aiohttp.py index 06ad36c..e9d3bf7 100644 --- a/raven_aiohttp.py +++ b/raven_aiohttp.py @@ -34,10 +34,9 @@ class AioHttpTransportBase( metaclass=abc.ABCMeta ): - def __init__(self, parsed_url=None, *, verify_ssl=True, resolve=True, + def __init__(self, parsed_url=None, *, verify_ssl=True, timeout=defaults.TIMEOUT, keepalive=True, family=socket.AF_INET, loop=None): - self._resolve = resolve self._keepalive = keepalive self._family = family if loop is None: @@ -58,10 +57,6 @@ def __init__(self, parsed_url=None, *, verify_ssl=True, resolve=True, self._closing = False - @property - def resolve(self): - return self._resolve - @property def keepalive(self): return self._keepalive @@ -72,7 +67,6 @@ def family(self): def _client_session_factory(self): connector = aiohttp.TCPConnector(verify_ssl=self.verify_ssl, - resolve=self.resolve, family=self.family, loop=self._loop) return aiohttp.ClientSession(connector=connector,