Skip to content
This repository has been archived by the owner on Aug 30, 2023. It is now read-only.

Drop resolve attribute #28

Merged
merged 1 commit into from
Mar 8, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 1 addition & 7 deletions raven_aiohttp.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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
Expand All @@ -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,
Expand Down