diff --git a/client/client.py b/client/client.py index 2e8ef3d..f7ff6c2 100644 --- a/client/client.py +++ b/client/client.py @@ -18,7 +18,7 @@ def __init__(self, api_key: str, base_url: str, proxy: str = None): 'https': proxy }) - def execute(self, method: str, path: str, params: dict = None, headers: dict = None, body_data: dict = None): + def execute(self, method: str, path: str, params: dict = None, headers: dict = None, body_data: dict = None, files: dict = None): if headers is None: headers = {} @@ -28,4 +28,5 @@ def execute(self, method: str, path: str, params: dict = None, headers: dict = N method=method, params=params, headers=headers, - json=body_data) + json=body_data, + files=files)