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
4 changes: 2 additions & 2 deletions annofabapi/wrapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ def _get_all_objects(func_get_list: Callable, limit: int, **kwargs_for_func_get_

return all_objects

def execute_http_get(self, url: str) -> requests.Response:
def execute_http_get(self, url: str, **kwargs) -> requests.Response:
"""
指定したURLに対してHTTP GETを実行します。

Expand All @@ -218,7 +218,7 @@ def execute_http_get(self, url: str) -> requests.Response:


""" # noqa: E501
return self.api._execute_http_request(http_method="get", url=url)
return self.api._execute_http_request(http_method="get", url=url, **kwargs)

def download(self, url: str, dest_path: Union[str, Path], *, chunk_size: int = 1024 * 1024 * 500, logger_prefix: str = "") -> None:
"""
Expand Down