Skip to content

Commit b2e9e1e

Browse files
committed
Removed non functional methods
1 parent 49352e7 commit b2e9e1e

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

tap_trello/client.py

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -67,19 +67,11 @@ def __init__(self, config: Mapping[str, Any]) -> None:
6767
self._member_id = None
6868

6969
def __enter__(self):
70-
self.check_api_credentials()
7170
return self
7271

7372
def __exit__(self, exception_type, exception_value, traceback):
7473
self._session.close()
7574

76-
def check_api_credentials(self) -> None:
77-
pass
78-
79-
def authenticate(self, headers: Dict, params: Dict) -> Tuple[Dict, Dict]:
80-
"""OAuth authentication is handled by session.auth"""
81-
return headers, params
82-
8375
def _get_member_id(self):
8476
resp = self.get('/members/me')
8577
if isinstance(resp, dict):
@@ -102,7 +94,6 @@ def make_request(
10294
headers = headers or {}
10395
body = body or {}
10496
endpoint = endpoint or f"{self.base_url}/{path}"
105-
headers, params = self.authenticate(headers, params)
10697
return self.__make_request(
10798
method, endpoint,
10899
headers=headers,

0 commit comments

Comments
 (0)