Minor formatting update
This commit is contained in:
parent
5c2e2653c8
commit
e185758918
@ -41,7 +41,6 @@ class ApiWrapper:
|
||||
base_url (str): The base URL of the API.
|
||||
session (requests.Session): Persistent HTTP session.
|
||||
"""
|
||||
|
||||
def __init__(self, base_url, headers=None, proxies=None, debug=False):
|
||||
self.base_url = base_url
|
||||
self.session = requests.Session()
|
||||
@ -61,7 +60,6 @@ class ApiWrapper:
|
||||
|
||||
logging.getLogger("urllib3").setLevel(logging.DEBUG)
|
||||
|
||||
|
||||
def __get(self, endpoint, params=None):
|
||||
url = self.base_url + endpoint
|
||||
|
||||
@ -136,4 +134,3 @@ class ApiWrapper:
|
||||
endpoint = '/users'
|
||||
response = self.__get(endpoint)
|
||||
return response
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user