import requests


class Client:
    session = requests.Session()

    def __init__(self, endpoint_url):
        self.endpoint_url = endpoint_url
        self.session = requests.Session()

    def request(self, path, **kwargs):
        response = self.session.request(url='{}{}'.format(self.endpoint_url,
            path), **kwargs)
        response.raise_for_status()
        return response.json()

e87fc2ff79a5d238371f67f1f50f0dc02b231280
<mask token>


class Client:
    <mask token>
    <mask token>
    <mask token>

<mask token>


class Client:
    <mask token>

    def __init__(self, endpoint_url):
        self.endpoint_url = endpoint_url
        self.session = requests.Session()

    def request(self, path, **kwargs):
        response = self.session.request(url='{}{}'.format(self.endpoint_url,
            path), **kwargs)
        response.raise_for_status()
        return response.json()

<mask token>


class Client:
    session = requests.Session()

    def __init__(self, endpoint_url):
        self.endpoint_url = endpoint_url
        self.session = requests.Session()

    def request(self, path, **kwargs):
        response = self.session.request(url='{}{}'.format(self.endpoint_url,
            path), **kwargs)
        response.raise_for_status()
        return response.json()

import requests


class Client:
    session = requests.Session()

    def __init__(self, endpoint_url):
        self.endpoint_url = endpoint_url
        self.session = requests.Session()

    def request(self, path, **kwargs):
        response = self.session.request(url='{}{}'.format(self.endpoint_url,
            path), **kwargs)
        response.raise_for_status()
        return response.json()
