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

Commit 5f4935a

Browse files
committed
Remove unused CouchDB._client_session
1 parent 54d8fbe commit 5f4935a

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/cloudant/client.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,6 @@ def __init__(self, user, auth_token, admin_party=False, **kwargs):
7878
super(CouchDB, self).__init__()
7979
self._user = user
8080
self._auth_token = auth_token
81-
self._client_session = None
8281
self.server_url = kwargs.get('url')
8382
self._client_user_header = None
8483
self.admin_party = admin_party
@@ -126,7 +125,6 @@ def connect(self):
126125

127126
self.session_login()
128127

129-
self._client_session = self.session()
130128
# Utilize an event hook to append to the response message
131129
# using :func:`~cloudant.common_util.append_response_error_content`
132130
self.r_session.hooks['response'].append(append_response_error_content)

0 commit comments

Comments
 (0)