Skip to content
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
3 changes: 2 additions & 1 deletion yarn_api_client/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ def to_url(self, api_path=None):
class BaseYarnAPI(object):
response_class = Response

def __init__(self, service_endpoint=None, timeout=None, auth=None, verify=True):
def __init__(self, service_endpoint=None, timeout=None, auth=None, verify=True, proxies=None):
self.timeout = timeout

if service_endpoint:
Expand All @@ -69,6 +69,7 @@ def __init__(self, service_endpoint=None, timeout=None, auth=None, verify=True):
self.session = requests.Session()
self.session.auth = auth
self.session.verify = verify
self.session.proxies = proxies

def _validate_configuration(self):
if not self.service_uri:
Expand Down